diff options
author | dscho <dscho> | 2002-08-19 10:41:11 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-08-19 10:41:11 +0000 |
commit | 598c460ceb842d0cf9df89f93642a1594f35b993 (patch) | |
tree | 6dc08fdcc2a9065fb9f75e759b725c1cf7c372e0 /main.c | |
parent | fde8958dc5e4e226a76ae0a26d751b6f185cf7ee (diff) | |
download | libtdevnc-598c460ceb842d0cf9df89f93642a1594f35b993.tar.gz libtdevnc-598c460ceb842d0cf9df89f93642a1594f35b993.zip |
unwarn compilation
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -32,7 +32,9 @@ #include "rfb.h" #include "sraRegion.h" +#ifdef HAVE_PTHREADS MUTEX(logMutex); +#endif int rfbEnableLogging=1; @@ -380,11 +382,11 @@ void defaultSetXCutText(char* text, int len, rfbClientPtr cl) /* TODO: add a nice VNC or RFB cursor */ -#if defined(WIN32) || defined(sparc) +#if defined(WIN32) || defined(sparc) || !defined(NO_STRICT_ANSI) static rfbCursor myCursor = { - "\000\102\044\030\044\102\000", - "\347\347\176\074\176\347\347", + (unsigned char*)"\000\102\044\030\044\102\000", + (unsigned char*)"\347\347\176\074\176\347\347", 8, 7, 3, 3, 0, 0, 0, 0xffff, 0xffff, 0xffff, |