From 2f30a63a6b2c814d34e9f9bd522f91fd06b3c478 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 9 Mar 2013 18:21:36 +0100 Subject: [PATCH] screenshot: fix invalid cast in debug message --- src/driver/screenshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/screenshot.cpp b/src/driver/screenshot.cpp index bab9bdc08..111ef0e78 100644 --- a/src/driver/screenshot.cpp +++ b/src/driver/screenshot.cpp @@ -99,7 +99,7 @@ bool CScreenShot::GetData() return false; } - printf("CScreenShot::GetData: data: %x %d x %d\n", (int) pixel_data, xres, yres); + printf("CScreenShot::GetData: data: %p %d x %d\n", pixel_data, xres, yres); return true; }