summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlars@mysql.com <>2005-09-26 16:49:18 +0200
committerlars@mysql.com <>2005-09-26 16:49:18 +0200
commit9528d0aefd9763ddfe84dc06a6b64f77816779ad (patch)
tree51ab2082b8dd6234da233ce7366ab555763b40ff
parent1299ef95260a3e38eb8270a70527149709bb1149 (diff)
downloadmariadb-git-9528d0aefd9763ddfe84dc06a6b64f77816779ad.tar.gz
Fixed gcc error on AMD64: cast from 'char*' to 'unsigned int' loses precision
-rw-r--r--sql/ha_ndbcluster.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index cc60c807bc9..c478e565220 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -598,8 +598,8 @@ int ha_ndbcluster::set_ndb_value(NdbOperation *ndb_op, Field *field,
blob_ptr= (char*)"";
}
- DBUG_PRINT("value", ("set blob ptr=%x len=%u",
- (unsigned)blob_ptr, blob_len));
+ DBUG_PRINT("value", ("set blob ptr=%p len=%u",
+ blob_ptr, blob_len));
DBUG_DUMP("value", (char*)blob_ptr, min(blob_len, 26));
if (set_blob_value)