summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorunknown <brian@brian-akers-computer.local>2005-06-07 18:23:58 -0700
committerunknown <brian@brian-akers-computer.local>2005-06-07 18:23:58 -0700
commitf4958dc0db510ddb2b44e2dee0b7ddbd9ab5d396 (patch)
treeb7d34430229b346655b0875228fc389576435350 /sql/log_event.cc
parentb775f9862a69fee834bff9574bec8a8a148d820b (diff)
downloadmariadb-git-f4958dc0db510ddb2b44e2dee0b7ddbd9ab5d396.tar.gz
Removed warnings for gcc 4.0
sql/log_event.cc: GCC 4.0 fix sql/sql_acl.cc: GCC 4.0
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index d4225b39704..e73a8c5f7f2 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -708,7 +708,7 @@ failed my_b_read"));
Log_event *res= 0;
#ifndef max_allowed_packet
THD *thd=current_thd;
- uint max_allowed_packet= thd ? thd->variables.max_allowed_packet : ~0;
+ uint max_allowed_packet= thd ? thd->variables.max_allowed_packet : ~(ulong)0;
#endif
if (data_len > max_allowed_packet)