From e431f228752218cb258ab00db7e4c390f8f0184d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 12 May 2013 18:46:43 +0200 Subject: [PATCH] playground: fixes a 64 bit warning. --- src/tests/servers/app/playground/ObjectWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tests/servers/app/playground/ObjectWindow.cpp b/src/tests/servers/app/playground/ObjectWindow.cpp index 0b6b9cc590..e78462287a 100644 --- a/src/tests/servers/app/playground/ObjectWindow.cpp +++ b/src/tests/servers/app/playground/ObjectWindow.cpp @@ -92,8 +92,9 @@ class ObjectListView : public BListView { virtual bool InitiateDrag(BPoint point, int32 itemIndex, bool wasSelected) { - printf("InitiateDrag(BPoint(%.1f, %.1f), itemIndex: %ld, wasSelected: %d)\n", - point.x, point.y, itemIndex, wasSelected); + printf("InitiateDrag(BPoint(%.1f, %.1f), itemIndex: %" B_PRId32 + ", wasSelected: %d)\n", point.x, point.y, itemIndex, + wasSelected); SwapItems(itemIndex, itemIndex + 1); return true; }