summaryrefslogtreecommitdiff
path: root/mysys/my_lib.c
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2007-03-22 20:32:07 +0200
committerunknown <jani@ua141d10.elisa.omakaista.fi>2007-03-22 20:32:07 +0200
commit7eb3881bd8c6b5c8dc705558414dbbe444804694 (patch)
treeef00f793c494b2bc5628499d60a41d7f7d70aa76 /mysys/my_lib.c
parent39333ba7f205950ce161c051f5487be76674e39e (diff)
downloadmariadb-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_lib.c')
-rw-r--r--mysys/my_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_lib.c b/mysys/my_lib.c
index 1908c70f407..41bfbc83b35 100644
--- a/mysys/my_lib.c
+++ b/mysys/my_lib.c
@@ -625,7 +625,7 @@ MY_STAT *my_stat(const char *path, MY_STAT *stat_area, myf my_flags)
int m_used;
DBUG_ENTER("my_stat");
DBUG_PRINT("my", ("path: '%s', stat_area: 0x%lx, MyFlags: %d", path,
- (byte *) stat_area, my_flags));
+ (long) stat_area, my_flags));
if ((m_used= (stat_area == NULL)))
if (!(stat_area = (MY_STAT *) my_malloc(sizeof(MY_STAT), my_flags)))