From 5f9d00022794de012e6e05abb79ba30a9ebc5fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Wed, 17 Aug 2011 14:18:19 -0400 Subject: [PATCH] libfreerdp-kbd: quick compilation fix --- channels/rdpdr/printer/printer_main.c | 2 +- include/freerdp/kbd/locales.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/rdpdr/printer/printer_main.c b/channels/rdpdr/printer/printer_main.c index b35e8c6fb..e13d72076 100644 --- a/channels/rdpdr/printer/printer_main.c +++ b/channels/rdpdr/printer/printer_main.c @@ -251,7 +251,7 @@ void printer_register(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints, rdpPrinter* pri CachedFieldsLen = 0; CachedPrinterConfigData = NULL; -printf("**** printer %s %X register\n", printer->name, printer); + printf("**** printer %s %X register\n", printer->name, (unsigned int) printer); Flags = 0; if (printer->is_default) diff --git a/include/freerdp/kbd/locales.h b/include/freerdp/kbd/locales.h index eed34619a..b98a06e36 100644 --- a/include/freerdp/kbd/locales.h +++ b/include/freerdp/kbd/locales.h @@ -28,6 +28,7 @@ #define __LOCALES_H #include +#include #define AFRIKAANS 0x0436 #define ALBANIAN 0x041c