Author: Richard Plangger <[email protected]>
Branch: memoryview-attributes
Changeset: r86400:73e384ef0911
Date: 2016-08-22 10:57 +0200
http://bitbucket.org/pypy/pypy/changeset/73e384ef0911/

Log:    remove gcc warning/error on buildbot for cpyext test

diff --git a/pypy/module/cpyext/test/buffer_test.c 
b/pypy/module/cpyext/test/buffer_test.c
--- a/pypy/module/cpyext/test/buffer_test.c
+++ b/pypy/module/cpyext/test/buffer_test.c
@@ -15,9 +15,10 @@
 
 /* initialize the array with integers 0...length */
 void initialize_MyArray(MyArray* a, long length){
+    int i;
     a->length = length;
     a->arr = (int*)malloc(length * sizeof(int));
-    for(int i=0; i<length; i++){
+    for(i=0; i<length; i++){
         a->arr[i] = i;
     }
 }
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to