[open-ils-commits] r9328 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Apr 13 15:01:09 EDT 2008
Author: dbs
Date: 2008-04-13 14:23:17 -0400 (Sun, 13 Apr 2008)
New Revision: 9328
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
dbi_get_result_long is deprecated; using dbi_get_result_int instead
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-04-13 18:17:49 UTC (rev 9327)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2008-04-13 18:23:17 UTC (rev 9328)
@@ -3175,7 +3175,7 @@
jsonNewNumberObject(dbi_result_get_longlong(result, columnName)));
else
jsonObjectSetIndex( object, fmIndex,
- jsonNewNumberObject(dbi_result_get_long(result, columnName)));
+ jsonNewNumberObject(dbi_result_get_int(result, columnName)));
break;
@@ -3265,7 +3265,7 @@
if( attr & DBI_INTEGER_SIZE8 )
jsonObjectSetKey( object, columnName, jsonNewNumberObject(dbi_result_get_longlong(result, columnName)) );
else
- jsonObjectSetKey( object, columnName, jsonNewNumberObject(dbi_result_get_long(result, columnName)) );
+ jsonObjectSetKey( object, columnName, jsonNewNumberObject(dbi_result_get_int(result, columnName)) );
break;
case DBI_TYPE_DECIMAL :
More information about the open-ils-commits
mailing list