summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2007-02-24 14:33:50 +0000
committerMarcus Boerger <helly@php.net>2007-02-24 14:33:50 +0000
commitd2c343a3dff6a2772f0b77516d0baf658e0ebb22 (patch)
tree5b04de7718de8bb39a04e7a0231497ea77d94410 /ext/mysqli/php_mysqli.h
parent1b1c62d708662f560892ea067c973ee6121316c9 (diff)
downloadphp-git-d2c343a3dff6a2772f0b77516d0baf658e0ebb22.tar.gz
- Fix spprintf usage
Diffstat (limited to 'ext/mysqli/php_mysqli.h')
-rw-r--r--ext/mysqli/php_mysqli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/php_mysqli.h b/ext/mysqli/php_mysqli.h
index 2e962bd140..812d6b89d2 100644
--- a/ext/mysqli/php_mysqli.h
+++ b/ext/mysqli/php_mysqli.h
@@ -244,7 +244,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML
RETURN_LONG((__val)); \
} else { \
char *ret; \
- int l = spprintf(ret, "%llu", (__val)); \
+ int l = spprintf(&ret, 0, "%llu", (__val)); \
RETURN_STRINGL(ret, l, 0); \
} \
}