Make compilable with g++, not just gcc (fixes Gentoo build issue).
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@57 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
d110608a09
commit
2190cb045c
3 changed files with 84 additions and 19 deletions
|
|
@ -100,7 +100,7 @@ void **make_array_from_list(PyObject *list, int n)
|
|||
|
||||
PyObject *make_list_from_LLVMTypeRef_array(LLVMTypeRef *p, unsigned n)
|
||||
{
|
||||
int i;
|
||||
size_t i;
|
||||
PyObject *list = PyList_New(n);
|
||||
|
||||
if (!list)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue