Ge van Geldorp : winebuild: Reserve enough space for null function pointer.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 11 06:10:35 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 2a8b31d162f54fa77be2eaf5aacaf22c6a6b8428
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=2a8b31d162f54fa77be2eaf5aacaf22c6a6b8428

Author: Ge van Geldorp <ge at gse.nl>
Date:   Mon Jul 10 08:58:47 2006 +0200

winebuild: Reserve enough space for null function pointer.

---

 tools/winebuild/spec32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
index cf0c54b..e902502 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -202,7 +202,7 @@ static void output_exports( FILE *outfil
     for (i = spec->base; i <= spec->limit; i++)
     {
         ORDDEF *odp = spec->ordinals[i];
-        if (!odp) fprintf( outfile, "\t.long 0\n" );
+        if (!odp) fprintf( outfile, "\t%s 0\n", get_asm_ptr_keyword() );
         else switch(odp->type)
         {
         case TYPE_EXTERN:




More information about the wine-cvs mailing list