From 6d46289cbc2703c9dc2f46160d6bd00fc09fe46a Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Tue, 30 Dec 2003 02:22:11 +0000 Subject: [PATCH] Replace assignment of array to struct with field-by-field assignment suppress gcc -Wall -pendantic "noise" git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@428 7f0cb862-5218-0410-a997-914c9d46530a --- src/freeglut_cursor.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/freeglut_cursor.c b/src/freeglut_cursor.c index bda8083..63b9070 100644 --- a/src/freeglut_cursor.c +++ b/src/freeglut_cursor.c @@ -253,7 +253,10 @@ void FGAPIENTRY glutWarpPointer( int x, int y ) #elif TARGET_HOST_WIN32 { - POINT coords = { x, y }; + POINT coords; + coords.x = x; + coords.y = y; + /* * ClientToScreen() translates {coords} for us. */ -- 1.7.10.4