This commit is contained in:
Hannes Magnusson 2007-02-28 10:37:07 +00:00
parent 3c27b48662
commit d193017342

View File

@ -1193,7 +1193,7 @@ PHP_FUNCTION(ibase_gen_id)
#if SIZEOF_LONG < 8 #if SIZEOF_LONG < 8
if (result < LONG_MIN || result > LONG_MAX) { if (result < LONG_MIN || result > LONG_MAX) {
char *res; char *res;
int l int l;
l = spprintf(&res, 0, "%" LL_MASK "d", result); l = spprintf(&res, 0, "%" LL_MASK "d", result);
RETURN_STRINGL(res, l, 0); RETURN_STRINGL(res, l, 0);