Skip to content

Commit d2c343a

Browse files
committed
- Fix spprintf usage
1 parent 1b1c62d commit d2c343a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/php_mysqli.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML
244244
RETURN_LONG((__val)); \
245245
} else { \
246246
char *ret; \
247-
int l = spprintf(ret, "%llu", (__val)); \
247+
int l = spprintf(&ret, 0, "%llu", (__val)); \
248248
RETURN_STRINGL(ret, l, 0); \
249249
} \
250250
}

0 commit comments

Comments
 (0)