summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/encodingstest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/encodingstest.c b/test/encodingstest.c
index 5c84caf..a5202f3 100644
--- a/test/encodingstest.c
+++ b/test/encodingstest.c
@@ -287,12 +287,13 @@ int main(int argc,char** argv)
{
int i,j;
time_t t;
+ rfbScreenInfoPtr server;
rfbClientLog=rfbTestLog;
rfbClientErr=rfbTestLog;
/* Initialize server */
- rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4);
+ server=rfbGetScreen(&argc,argv,width,height,8,3,4);
server->frameBuffer=malloc(400*300*4);
for(j=0;j<400*300*4;j++)