Another warning fix

git-svn-id: http://liblouis.googlecode.com/svn/trunk@1164 24698d54-e344-0410-af24-25bd253c2c7b
diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c
index f14eeab..5ea5abd 100644
--- a/liblouis/compileTranslationTable.c
+++ b/liblouis/compileTranslationTable.c
@@ -5214,7 +5214,7 @@
     }
 }
 
-void logWidecharBuf(logLevels level, const char *msg, widechar *wbuf, int wlen)
+void logWidecharBuf(logLevels level, const char *msg, const widechar *wbuf, int wlen)
 {
   /* When calculating output size:
    * Each wdiechar is represented in hex, thus needing two bytes for each
diff --git a/liblouis/lou_translateString.c b/liblouis/lou_translateString.c
index 7a1010a..bc08f75 100644
--- a/liblouis/lou_translateString.c
+++ b/liblouis/lou_translateString.c
@@ -274,7 +274,7 @@
   if (rulesLen != NULL)
     *rulesLen = appliedRulesCount;
   lou_log(LOG_INFO, "Translation complete: outlen=%d", *outlen);
-  logWidecharBuf(LOG_INFO, "Outbuf=", outbuf, *outlen);
+  logWidecharBuf(LOG_INFO, "Outbuf=", (const widechar *)outbuf, *outlen);
   return goodTrans;
 }
 
diff --git a/liblouis/louis.h b/liblouis/louis.h
index 4d3abe3..cda7eb8 100644
--- a/liblouis/louis.h
+++ b/liblouis/louis.h
@@ -565,7 +565,7 @@
 void outOfMemory ();
 /* Priknts an out-of-memory message and exits*/
 
-void logWidecharBuf(int level, const char *msg, widechar *wbuf, int wlen);
+void logWidecharBuf(int level, const char *msg, const widechar *wbuf, int wlen);
 /* Helper for logging a widechar buffer */
 
 #ifdef __cplusplus