diff options
author | Vic Lee <llyzs@163.com> | 2009-11-04 23:18:36 +0800 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-11-10 14:22:59 +0100 |
commit | a4cc897222b8cbfb621d27c7c9f070dbbb05def9 (patch) | |
tree | 22ab803866eee61ea0982ad6e4963be88e8486f4 /vncterm | |
parent | f49a292783407c14869d811c05c2bbd009af27f7 (diff) | |
download | libtdevnc-a4cc897222b8cbfb621d27c7c9f070dbbb05def9.tar.gz libtdevnc-a4cc897222b8cbfb621d27c7c9f070dbbb05def9.zip |
Fix various compilation warnings
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'vncterm')
-rw-r--r-- | vncterm/VNConsole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vncterm/VNConsole.c b/vncterm/VNConsole.c index 720a42e..d0757ba 100644 --- a/vncterm/VNConsole.c +++ b/vncterm/VNConsole.c @@ -299,7 +299,7 @@ void vcPrintF(vncConsolePtr c,char* format,...) char buf[4096]; va_start(args, format); vsprintf(buf, format, args); - vcPrint(c,buf); + vcPrint(c,(unsigned char*)buf); va_end(args); } @@ -309,7 +309,7 @@ void vcPrintFColour(vncConsolePtr c,unsigned char foreColour,unsigned char backC char buf[4096]; va_start(args, format); vsprintf(buf, format, args); - vcPrintColour(c,buf,foreColour,backColour); + vcPrintColour(c,(unsigned char*)buf,foreColour,backColour); va_end(args); } |