diff options
Diffstat (limited to 'pile.c')
-rw-r--r-- | pile.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -22,7 +22,8 @@ unsigned int pile_ptr = 0; void push_pile(char *st) { - int valid1, valid2, valid3, valid4=0; + int valid1, valid2, valid3; + char valid4=0; int i_number; double d_number; polynome poly; @@ -31,7 +32,7 @@ void push_pile(char *st) i_number = char_to_number(st, &valid1); d_number = char_to_double(st, &valid2); valid3 = is_mute(st); - poly = (polynome) NomVarToVar(st, variables, (char *) valid4); + poly = (polynome) NomVarToVar(st, variables, &valid4); if (valid1) { /* il s agit d un entier */ push_pile_poly(ply_constr(rat_constr(i_number, 1), 0)); |