Blob Blame History Raw
Index: src/sbml/math-legacy/FormulaParser.c
===================================================================
--- a/src/sbml/math-legacy/FormulaParser.c	(revision 21966)
+++ b/src/sbml/math-legacy/FormulaParser.c	(working copy)
@@ -115,7 +115,7 @@
 typedef struct
 {
   char state;
-  char action;
+  long action;
 } StateActionPair_t;
 
 
@@ -409,7 +409,7 @@
   {
     if (Action[n].state == state)
     {
-      result = Action[n].action;
+      result = (long)(Action[n].action);
       break;
     }
   }
Index: src/sbml/math/FormulaParser.c
===================================================================
--- a/src/sbml/math/FormulaParser.c	(revision 21966)
+++ b/src/sbml/math/FormulaParser.c	(working copy)
@@ -116,7 +116,7 @@
 typedef struct
 {
   char state;
-  char action;
+  long action;
 } StateActionPair_t;
 
 
@@ -410,7 +410,7 @@
   {
     if (Action[n].state == state)
     {
-      result = Action[n].action;
+      result = (long)(Action[n].action);
       break;
     }
   }