[svn:parrot] r37007 - trunk/examples/embed

NotFound at svn.parrot.org NotFound at svn.parrot.org
Wed Feb 25 22:50:16 UTC 2009


Author: NotFound
Date: Wed Feb 25 22:50:15 2009
New Revision: 37007
URL: https://trac.parrot.org/parrot/changeset/37007

Log:
[examples] fix lorito C build

Modified:
   trunk/examples/embed/lorito.c

Modified: trunk/examples/embed/lorito.c
==============================================================================
--- trunk/examples/embed/lorito.c	Wed Feb 25 21:59:43 2009	(r37006)
+++ trunk/examples/embed/lorito.c	Wed Feb 25 22:50:15 2009	(r37007)
@@ -57,7 +57,7 @@
         { PARROT_GC_DEBUG_CORE, "gcdebug" },
         { PARROT_SWITCH_CORE,   "switch" }
     };
-    static const unsigned int n = sizeof (cores)/sizeof (runcoreinfo);
+    static const unsigned int n = sizeof (cores)/sizeof (struct runcoreinfo);
     unsigned int i;
     for (i= 0; i < n; ++i) {
         if (strcmp(name, cores[i].name) == 0)


More information about the parrot-commits mailing list