Skip to content

Commit 71f6399

Browse files
committed
Bug#32107056 warning C4302 and C4311: 'type cast': in ndbapi [#10] [noclose]
src\ndbapi\ndb_cluster_connection.cpp(473,3): warning C4302: 'type cast': truncation from 'Ndb_cluster_connection_impl *' to 'long' src\ndbapi\ndb_cluster_connection.cpp(473,3): warning C4311: 'type cast': pointer truncation from 'Ndb_cluster_connection_impl *' to 'long' Change-Id: Iab757f4e868fee7fcf441f09b40d007bf7bbe05c
1 parent a87908a commit 71f6399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/ndb/src/ndbapi/ndb_cluster_connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ Ndb_cluster_connection_impl(const char * connect_string,
475475
m_uri_port(0)
476476
{
477477
DBUG_ENTER("Ndb_cluster_connection");
478-
DBUG_PRINT("enter",("Ndb_cluster_connection this=0x%lx", (long) this));
478+
DBUG_PRINT("enter",("Ndb_cluster_connection this=%p", this));
479479

480480
NdbMutex_Lock(g_ndb_connection_mutex);
481481
if(g_ndb_connection_count++ == 0)

0 commit comments

Comments
 (0)