diff options
author | unknown <jani@ua141d10.elisa.omakaista.fi> | 2007-03-22 20:32:07 +0200 |
---|---|---|
committer | unknown <jani@ua141d10.elisa.omakaista.fi> | 2007-03-22 20:32:07 +0200 |
commit | 7eb3881bd8c6b5c8dc705558414dbbe444804694 (patch) | |
tree | ef00f793c494b2bc5628499d60a41d7f7d70aa76 /mysys/my_seek.c | |
parent | 39333ba7f205950ce161c051f5487be76674e39e (diff) | |
download | mariadb-git-7eb3881bd8c6b5c8dc705558414dbbe444804694.tar.gz |
Fixed compiler warnings.
mysys/default.c:
Fixed bug.
ndb/src/mgmclient/CommandInterpreter.cpp:
Added parenthesis around the expression.
sql/mysqld.cc:
Fixed compiler warnings.
Added a missing component in options struct (bug).
sql-common/my_time.c:
Removed garbage.
sql/sql_table.cc:
A possible use of a variable uninitialized.
support-files/compiler_warnings.supp:
BitKeeper file /home/my/bk/mysql-4.1-main/support-files/compiler_warnings.supp
Diffstat (limited to 'mysys/my_seek.c')
-rw-r--r-- | mysys/my_seek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_seek.c b/mysys/my_seek.c index a9ae68cd5f0..5f8318cd729 100644 --- a/mysys/my_seek.c +++ b/mysys/my_seek.c @@ -55,7 +55,7 @@ my_off_t my_seek(File fd, my_off_t pos, int whence, if (newpos == (os_off_t) -1) { my_errno=errno; - DBUG_PRINT("error",("lseek: %lu, errno: %d",newpos,errno)); + DBUG_PRINT("error",("lseek: %lu errno: %d", (ulong) newpos, errno)); DBUG_RETURN(MY_FILEPOS_ERROR); } if ((my_off_t) newpos != pos) |