summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/util/sqlinfoprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sqlinfoprint.c b/src/util/sqlinfoprint.c
index 071b4c9..cc02784 100644
--- a/src/util/sqlinfoprint.c
+++ b/src/util/sqlinfoprint.c
@@ -33,7 +33,7 @@ sqlinfoprint (char *appMsg, struct sqlca *pSqlca,
strcat (sqlInfo, sqlInfoToken);
sprintf (sqlInfoToken, " file = %s\n", file);
strcat (sqlInfo, sqlInfoToken);
- sprintf (sqlInfoToken, " SQLCODE = %li\n", pSqlca->sqlcode);
+ sprintf (sqlInfoToken, " SQLCODE = %i\n", pSqlca->sqlcode);
strcat (sqlInfo, sqlInfoToken);
/* get error message */
rc = sqlaintp (errorMsg, 1024, 80, pSqlca);

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.