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:
mdevan.foobar 2008-12-22 17:39:39 +00:00
commit 2190cb045c
3 changed files with 84 additions and 19 deletions

View file

@ -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)