summaryrefslogtreecommitdiff
path: root/strings/decimal.c
diff options
context:
space:
mode:
authorunknown <tsmith/tim@siva.hindu.god>2006-12-19 20:17:33 -0700
committerunknown <tsmith/tim@siva.hindu.god>2006-12-19 20:17:33 -0700
commit29aae170443d7bbc6dff1b6dd868ed7ea719eec3 (patch)
tree837323f451b65b91251cf0fe7045ef1857d3a123 /strings/decimal.c
parent6417ddd6d39161ae59d1a4a4aac14d6b4d6eab35 (diff)
downloadmariadb-git-29aae170443d7bbc6dff1b6dd868ed7ea719eec3.tar.gz
Remove warnings by casting
cmd-line-utils/readline/histfile.c: Remove warning (compare signed & unsigned) sql/udf_example.c: Remove warning (cast integer to pointer of different size) strings/decimal.c: Remove warning (%lx format, double arg)
Diffstat (limited to 'strings/decimal.c')
-rw-r--r--strings/decimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/decimal.c b/strings/decimal.c
index bdc3b1eef42..f6ac4717a32 100644
--- a/strings/decimal.c
+++ b/strings/decimal.c
@@ -971,7 +971,7 @@ int decimal2double(decimal_t *from, double *to)
*to= from->sign ? -result : result;
- DBUG_PRINT("info", ("result: %f (%lx)", *to, *to));
+ DBUG_PRINT("info", ("result: %f (%lx)", *to, *(ulong *)to));
return E_DEC_OK;
}