Skip to content

Commit

Permalink
Compilation fix for ISC_STATUS use in Firebird backend.
Browse files Browse the repository at this point in the history
ISC_STATUS is not the same as "long", use the correct type to fix compilation
with Firebird 2.x.

Signed-off-by: Vadim Zeitlin <vz-soci@zeitlins.org>
  • Loading branch information
vadz committed Jul 6, 2012
1 parent d8099e6 commit 578a8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/firebird/error-firebird.cpp
Expand Up @@ -37,7 +37,7 @@ namespace firebird
void get_iscerror_details(ISC_STATUS * status_vector, std::string &msg)
{
char msg_buffer[SOCI_FIREBIRD_ERRMSG];
long *pvector = status_vector;
ISC_STATUS *pvector = status_vector;

try
{
Expand Down

0 comments on commit 578a8f4

Please sign in to comment.