diff options
author | unknown <knielsen@knielsen-hq.org> | 2009-09-07 09:12:38 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2009-09-07 09:12:38 +0200 |
commit | c49328ba9c1bf963b38605763d28dbb55bac2329 (patch) | |
tree | 1d4a24043af47daa27a8b3748ad204ba17833974 /sql/opt_table_elimination.cc | |
parent | bfc283d0a2508bfbf0c8a99408ac67a7f1debd8a (diff) | |
download | mariadb-git-c49328ba9c1bf963b38605763d28dbb55bac2329.tar.gz |
Fix compiler warnings.
Diffstat (limited to 'sql/opt_table_elimination.cc')
-rw-r--r-- | sql/opt_table_elimination.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/opt_table_elimination.cc b/sql/opt_table_elimination.cc index 23d0ffd6287..712572b07b5 100644 --- a/sql/opt_table_elimination.cc +++ b/sql/opt_table_elimination.cc @@ -1802,16 +1802,16 @@ void Dep_analysis_context::dbug_print_deps() eq_mod->expr->print(&str, QT_ORDINARY); if (eq_mod->field) { - fprintf(DBUG_FILE, " equality%d: %s -> %s.%s\n", - eq_mod - equality_mods, + fprintf(DBUG_FILE, " equality%ld: %s -> %s.%s\n", + (long)(eq_mod - equality_mods), str.c_ptr(), eq_mod->field->table->table->alias, eq_mod->field->field->field_name); } else { - fprintf(DBUG_FILE, " equality%d: multi-equality", - eq_mod - equality_mods); + fprintf(DBUG_FILE, " equality%ld: multi-equality", + (long)(eq_mod - equality_mods)); } } fprintf(DBUG_FILE,"\n"); |