summaryrefslogtreecommitdiffstats
path: root/client/cache.hpp
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-04-25 10:51:10 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-04-25 11:00:01 +0100
commit6d7d9bc12d92e14f291d818fc46303f15e045e33 (patch)
treea0c27f9523b525505cd3e846286458b314bbf1d8 /client/cache.hpp
parent3bbc53521ee2fdc177f2756297c0f4038368cef6 (diff)
downloadspice-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/cache.hpp')
-rw-r--r--client/cache.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/cache.hpp b/client/cache.hpp
index 42e6873d..e267f427 100644
--- a/client/cache.hpp
+++ b/client/cache.hpp
@@ -45,7 +45,7 @@ public:
while (*item) {
if ((*item)->id == id) {
- THROW("%s id %lu, double insert", Treat::name(), id);
+ THROW("%s id %" PRIu64 ", double insert", Treat::name(), id);
}
item = &(*item)->next;
}
@@ -61,7 +61,7 @@ public:
}
if (!item) {
- THROW("%s id %lu, not found", Treat::name(), id);
+ THROW("%s id %" PRIu64 ", not found", Treat::name(), id);
}
return Treat::get(item->data);
}
@@ -79,7 +79,7 @@ public:
}
item = &(*item)->next;
}
- THROW("%s id %lu, not found", Treat::name(), id);
+ THROW("%s id %" PRIu64 ", not found", Treat::name(), id);
}
void clear()