diff options
author | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:38:30 -0400 |
---|---|---|
committer | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:38:30 -0400 |
commit | 1f589a2bd44ba835ad1b009a5d83abd453724829 (patch) | |
tree | ec84d715d1ff049cc61f5eaf18db21eb7f3bab40 /ext/mysqli/php_mysqli.h | |
parent | bb01389fbd53ec1cbcb80d0681a37cca1267891a (diff) | |
download | php-1f589a2bd44ba835ad1b009a5d83abd453724829.tar.gz |
Imported Upstream version 5.2.5upstream/5.2.5
Diffstat (limited to 'ext/mysqli/php_mysqli.h')
-rw-r--r-- | ext/mysqli/php_mysqli.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mysqli/php_mysqli.h b/ext/mysqli/php_mysqli.h index 7ab599859..e16ff8314 100644 --- a/ext/mysqli/php_mysqli.h +++ b/ext/mysqli/php_mysqli.h @@ -15,7 +15,7 @@ | Author: Georg Richter <georg@php.net> | +----------------------------------------------------------------------+ - $Id: php_mysqli.h,v 1.54.2.7.2.5 2007/02/24 14:33:50 helly Exp $ + $Id: php_mysqli.h,v 1.54.2.7.2.6 2007/09/12 09:12:56 andrey Exp $ */ /* A little hack to prevent build break, when mysql is used together with @@ -241,9 +241,10 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML #define MYSQLI_RETURN_LONG_LONG(__val) \ { \ if ((__val) < LONG_MAX) { \ - RETURN_LONG((__val)); \ + RETURN_LONG((long) (__val)); \ } else { \ char *ret; \ + /* always used with my_ulonglong -> %llu */ \ int l = spprintf(&ret, 0, "%llu", (__val)); \ RETURN_STRINGL(ret, l, 0); \ } \ |