mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-15 08:01:33 +00:00
64bit printf format fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@37063 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ecfc34862e
commit
952276d6f7
1 changed files with 2 additions and 2 deletions
4
ECPG.pgm
4
ECPG.pgm
|
@ -117,12 +117,12 @@ void SQLErrorHandler()
|
||||||
|| strncmp(ptr, e1, strlen(e1)) == 0)
|
|| strncmp(ptr, e1, strlen(e1)) == 0)
|
||||||
{
|
{
|
||||||
[NSException raise: SQLConnectionException
|
[NSException raise: SQLConnectionException
|
||||||
format: @"SQL Error: SQLCODE=(%ld): %s", code, ptr];
|
format: @"SQL Error: SQLCODE=(%d): %s", code, ptr];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
[NSException raise: SQLException
|
[NSException raise: SQLException
|
||||||
format: @"SQL Error: SQLCODE=(%ld): %s", code, ptr];
|
format: @"SQL Error: SQLCODE=(%d): %s", code, ptr];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue