[Bugfix] Fix MS Visual Studio 2008 compilation issues.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3912 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/rfb_win32/CKeyboard.cxx b/win/rfb_win32/CKeyboard.cxx
index 08e25dc..f2cda7e 100644
--- a/win/rfb_win32/CKeyboard.cxx
+++ b/win/rfb_win32/CKeyboard.cxx
@@ -64,7 +64,7 @@
     // be a comma and a DECIMAL to be a dot. 
     if (extendedVkey == VK_DECIMAL || extendedVkey == VK_SEPARATOR) {
       char buf[4];
-      if (!GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buf, sizeof(buf))) {
+      if (!GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, (LPSTR) buf, sizeof(buf))) {
 	vlog.debug("failed to retrieve LOCALE_SDECIMAL");
       } else {
 	switch (buf[0]) {