Branch: Tag:

1999-01-01

1999-01-01 01:10:28 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

cast now only handles decimal numbers

Rev: src/opcodes.c:1.34

22:   #include "builtin_functions.h"   #include "module_support.h"    - RCSID("$Id: opcodes.c,v 1.33 1998/12/16 07:49:37 hubbe Exp $"); + RCSID("$Id: opcodes.c,v 1.34 1999/01/01 01:10:28 hubbe Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
157:    break;       case T_STRING: -  i=STRTOL(sp[-1].u.string->str,0,0); +  i=STRTOL(sp[-1].u.string->str,0,10);    free_string(sp[-1].u.string);    break;