# HG changeset patch
# User cslag
# Date 1463943357 -7200
# Node ID 87fd9f34eaa0f76201b8b3ee64b7b1c5d5c6ccc5
# Parent  4ee8d6aa772102a113db79d1c113507eba5cdae6
- pre-C99 syntax fix

diff -r 4ee8d6aa7721 -r 87fd9f34eaa0 java/jdc/org_dyncall_DC.c
--- a/java/jdc/org_dyncall_DC.c	Sat Apr 09 18:18:34 2016 -0500
+++ b/java/jdc/org_dyncall_DC.c	Sun May 22 20:55:57 2016 +0200
@@ -9,7 +9,8 @@
 static const char** gc_cstr = NULL;
 static void cleanupHeldStrings(JNIEnv *pEnv)
 {
-	for(int i=0; i<gc_snum; ++i)
+	int i;
+	for(i=0; i<gc_snum; ++i)
 		(*pEnv)->ReleaseStringUTFChars(pEnv, gc_jstr[i], gc_cstr[i]);
 
 	free(gc_jstr); gc_jstr = NULL;