diff options
author | dscho <dscho> | 2005-05-15 13:57:51 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-05-15 13:57:51 +0000 |
commit | 8bee4eb990273c3654431467ba6618eb916f030a (patch) | |
tree | f3077e1cb12a4cb778047814583fc0b2f26bb7b2 /libvncserver/selbox.c | |
parent | be5b1296e4aa4d8a51cd709853408ec0cd7b768b (diff) | |
download | libtdevnc-8bee4eb990273c3654431467ba6618eb916f030a.tar.gz libtdevnc-8bee4eb990273c3654431467ba6618eb916f030a.zip |
ANSIfy, fix some warnings from Linus' sparse
Diffstat (limited to 'libvncserver/selbox.c')
-rwxr-xr-x | libvncserver/selbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/selbox.c b/libvncserver/selbox.c index 3633d06..bbc6d52 100755 --- a/libvncserver/selbox.c +++ b/libvncserver/selbox.c @@ -197,7 +197,7 @@ static void selPtrAddEvent(int buttonMask,int x,int y,rfbClientPtr cl) static rfbCursorPtr selGetCursorPtr(rfbClientPtr cl) { - return(0); + return NULL; } int rfbSelectBox(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font, @@ -263,7 +263,7 @@ int rfbSelectBox(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font, rfbScreen->kbdAddEvent = selKbdAddEvent; rfbScreen->ptrAddEvent = selPtrAddEvent; rfbScreen->getCursorPtr = selGetCursorPtr; - rfbScreen->displayHook = 0; + rfbScreen->displayHook = NULL; /* backup screen */ for(j=0;j<y2-y1;j++) |