diff options
Diffstat (limited to 'examples/copyrecttest.c')
-rw-r--r-- | examples/copyrecttest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/copyrecttest.c b/examples/copyrecttest.c index 8186e8e..ff278b4 100644 --- a/examples/copyrecttest.c +++ b/examples/copyrecttest.c @@ -19,7 +19,7 @@ int main(int argc,char** argv) double r,phi; rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4); - server->frameBuffer=malloc(width*height*4); + server->frameBuffer=(char*)malloc(width*height*4); initBackground(server); server->rfbDeferUpdateTime=0; rfbInitServer(server); |