about summary refs log tree commit diff stats
path: root/src/UCAux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/UCAux.c')
-rw-r--r--src/UCAux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UCAux.c b/src/UCAux.c
index bf41047e..0bdd064e 100644
--- a/src/UCAux.c
+++ b/src/UCAux.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: UCAux.c,v 1.49 2014/12/08 01:10:30 tom Exp $
+ * $LynxId: UCAux.c,v 1.50 2014/12/10 09:48:57 tom Exp $
  */
 #include <HTUtils.h>
 
@@ -560,10 +560,10 @@ BOOL UCConvertUniToUtf8(UCode_t code, char *buffer)
  * returns the UCS value
  * returns negative value on error (invalid UTF-8 sequence)
  */
-UCode_t UCGetUniFromUtf8String(char **ppuni)
+UCode_t UCGetUniFromUtf8String(const char **ppuni)
 {
     UCode_t uc_out = 0;
-    char *p = *ppuni;
+    const char *p = *ppuni;
     int utf_count, i;
 
     if (!(**ppuni & 0x80))