dlls/kernel32/task.c -- minor improvement

Alexandre Julliard julliard at winehq.org
Fri Jan 4 05:11:52 CST 2008


Gerald Pfeifer <gerald at pfeifer.com> writes:

> Index: dlls/kernel32/task.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/kernel32/task.c,v
> retrieving revision 1.2
> diff -u -3 -p -r1.2 task.c
> --- dlls/kernel32/task.c	13 Oct 2006 10:27:19 -0000	1.2
> +++ dlls/kernel32/task.c	3 Jan 2008 21:33:44 -0000
> @@ -57,7 +57,7 @@ typedef struct
>      WORD  magic;      /* Thunks signature */
>      WORD  unused;
>      WORD  free;       /* Head of the free list */
> -    WORD  thunks[4];  /* Each thunk is 4 words long */
> +    WORD  thunks[];   /* Each thunk is 4 words long */
>  } THUNKS;

That syntax is not portable.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list