Author: jonathan
Date: Sat Apr 21 15:40:04 2007
New Revision: 18295

Modified:
   trunk/src/objects.c

Log:
Fix the build for compilers that really expect C89.

Modified: trunk/src/objects.c
==============================================================================
--- trunk/src/objects.c (original)
+++ trunk/src/objects.c Sat Apr 21 15:40:04 2007
@@ -59,11 +59,12 @@
     PMC  *mro;
     PMC  *key;
     char *slot_name;
+    int vtable_index;
     INTVAL i, n, j, k;
 
     /* Get index in Parrot_vtable_slot_names[]. */
     slot_name        = string_to_cstring(interp, meth);
-    int vtable_index = Parrot_get_vtable_index(interp, slot_name);
+    vtable_index     = Parrot_get_vtable_index(interp, slot_name);
     string_cstring_free(slot_name);
     if (vtable_index == -1)
       return NULL;

Reply via email to