fmk Thu Oct 2 14:49:18 2003 EDT
Modified files:
/php-src/ext/fbsql php_fbsql.c
Log:
Fixing type cast
Index: php-src/ext/fbsql/php_fbsql.c
diff -u php-src/ext/fbsql/php_fbsql.c:1.100 php-src/ext/fbsql/php_fbsql.c:1.101
--- php-src/ext/fbsql/php_fbsql.c:1.100 Mon Aug 11 20:55:58 2003
+++ php-src/ext/fbsql/php_fbsql.c Thu Oct 2 14:49:18 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_fbsql.c,v 1.100 2003/08/12 00:55:58 iliaa Exp $ */
+/* $Id: php_fbsql.c,v 1.101 2003/10/02 18:49:18 fmk Exp $ */
/* TODO:
*
@@ -2278,7 +2278,7 @@
#ifdef FB_TinyInteger
case FB_TinyInteger:
{
- short int v = *((short int*)data);
+ short int v = *((FBTinyInteger*)data);
char b[128];
sprintf(b, "%d", v);
phpfbestrdup(b, length, value);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php