It's impossible for a decimal long string to be longer than 64 chars.
Also remove workaround for MSVC added in r2267.
svn path=/trunk/yasm/; revision=2273
int cursor = pp->expr_string_cursor;
int k, len = strlen(tokval.t_charptr);
char value[64];
- int value_length = snprintf(value, sizeof(value), "%ld", eval_expr(pp, tokval.t_charptr));
+ int value_length = sprintf(value, "%ld", eval_expr(pp, tokval.t_charptr));
int delta = value_length - len;
line_length += delta;
# define USE_OUR_OWN_STRCASECMP
#endif
-#ifdef _MSC_VER
-# define snprintf _snprintf
-#endif
-
#include <libyasm/compat-queue.h>
#ifdef HAVE_SYS_CDEFS_H