Skip to content

Commit

Permalink
Make conversion explicit (clang trunk warning).
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Jan 29, 2015
1 parent 5f7b9a0 commit 0463048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/odbc/src/TODBCStatement.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ const char* TODBCStatement::ConvertToString(Int_t npar)
case SQL_C_SLONG: snprintf(buf, 100, "%d", *((SQLINTEGER*) addr)); break;
case SQL_C_ULONG: snprintf(buf, 100, "%u", *((SQLUINTEGER*) addr)); break;
#else
case SQL_C_SLONG: snprintf(buf, 100, "%ld", *((SQLINTEGER*) addr)); break;
case SQL_C_ULONG: snprintf(buf, 100, "%lu", *((SQLUINTEGER*) addr)); break;
case SQL_C_SLONG: snprintf(buf, 100, "%ld", (long)*((SQLINTEGER*) addr)); break;
case SQL_C_ULONG: snprintf(buf, 100, "%lu", (unsigned long)*((SQLUINTEGER*) addr)); break;
#endif
case SQL_C_SBIGINT: snprintf(buf, 100, "%lld", *((Long64_t*) addr)); break;
case SQL_C_UBIGINT: snprintf(buf, 100, "%llu", *((ULong64_t*) addr)); break;
Expand Down

0 comments on commit 0463048

Please sign in to comment.