diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2012-04-25 10:51:10 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2012-04-25 11:00:01 +0100 |
commit | 6d7d9bc12d92e14f291d818fc46303f15e045e33 (patch) | |
tree | a0c27f9523b525505cd3e846286458b314bbf1d8 /client/cursor.cpp | |
parent | 3bbc53521ee2fdc177f2756297c0f4038368cef6 (diff) | |
download | spice-6d7d9bc12d92e14f291d818fc46303f15e045e33.tar.gz spice-6d7d9bc12d92e14f291d818fc46303f15e045e33.tar.xz spice-6d7d9bc12d92e14f291d818fc46303f15e045e33.zip |
Fix printf format specifiers for i686 hosts
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'client/cursor.cpp')
-rw-r--r-- | client/cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/cursor.cpp b/client/cursor.cpp index 0584b884..0fbf3668 100644 --- a/client/cursor.cpp +++ b/client/cursor.cpp @@ -64,7 +64,7 @@ CursorData::CursorData(SpiceCursor& cursor, int data_size) } if (data_size < expected_size) { - THROW("access violation 0x%lx %u", (uintptr_t)cursor.data, expected_size); + THROW("access violation 0x%" PRIuPTR " %u", (uintptr_t)cursor.data, expected_size); } _data = new uint8_t[expected_size]; memcpy(_data, cursor.data, expected_size); |