aboutsummaryrefslogtreecommitdiff
path: root/unicode.h
diff options
context:
space:
mode:
Diffstat (limited to 'unicode.h')
-rw-r--r--unicode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unicode.h b/unicode.h
index 2e24a75..76234b8 100644
--- a/unicode.h
+++ b/unicode.h
@@ -42,7 +42,7 @@ static inline uint8_t lookup_codepage( TSRDATAPTR data, uint16_t cp )
// dst and src CAN'T BE THE SAME !!!!
// Returns resulting length or 0 if buffer overflow
//
-static uint16_t local_to_utf8_n( TSRDATAPTR data, uint8_t *dst, char far *src, uint16_t buflen, uint16_t count )
+static uint16_t local_to_utf8_n( TSRDATAPTR data, uint8_t *dst, const char far *src, uint16_t buflen, uint16_t count )
{
uint16_t len = 0; // Resulting length
uint16_t cp; // Unicode Code Point