diff options
author | unknown <tsmith/tim@siva.hindu.god> | 2006-12-19 20:17:33 -0700 |
---|---|---|
committer | unknown <tsmith/tim@siva.hindu.god> | 2006-12-19 20:17:33 -0700 |
commit | 29aae170443d7bbc6dff1b6dd868ed7ea719eec3 (patch) | |
tree | 837323f451b65b91251cf0fe7045ef1857d3a123 /strings/decimal.c | |
parent | 6417ddd6d39161ae59d1a4a4aac14d6b4d6eab35 (diff) | |
download | mariadb-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.c | 2 |
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; } |