summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/directdraw/gstdirectdrawsink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c
index bd9b79ca1..518ca7cf6 100644
--- a/sys/directdraw/gstdirectdrawsink.c
+++ b/sys/directdraw/gstdirectdrawsink.c
@@ -1416,7 +1416,7 @@ gst_directdraw_sink_setup_ddraw (GstDirectDrawSink * ddrawsink)
return bRet;
}
-static long FAR PASCAL
+static LRESULT FAR PASCAL
WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) {
@@ -2026,7 +2026,7 @@ surface_pitch_bad:
GST_BUFFER_SIZE (surface) = size;
surface->surface = NULL;
GST_CAT_INFO_OBJECT (directdrawsink_debug, ddrawsink,
- "allocating a system memory buffer of %d bytes", size);
+ "allocating a system memory buffer of %" G_GSIZE_FORMAT " bytes", size);
#endif