lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 679eddf2961250ee47aa81d754bddf888a62da07
parent d991def36c313a5d10bc9f6769fc3ec2307dd60b
Author: Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>
Date:   Thu, 14 Nov 1996 11:32:55 -0200


Diffstat:
Mundump.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/undump.c b/undump.c @@ -3,7 +3,7 @@ ** load bytecodes from files */ -char* rcs_undump="$Id: undump.c,v 1.16 1996/11/07 14:13:28 lhf Exp lhf $"; +char* rcs_undump="$Id: undump.c,v 1.17 1996/11/14 11:44:34 lhf Exp lhf $"; #include <stdio.h> #include <string.h> @@ -259,7 +259,7 @@ static void LoadHeader(FILE* D) /* TODO: error handling */ int oldsizeofF=getc(D); int oldsizeofP=getc(D); if (oldsizeofF!=4) lua_error("sizeof(float)!=4. not an IEEE machine?"); - if (oldsizeofFP!=sizeof(TFunc*)) /* TODO: pack */ + if (oldsizeofP!=sizeof(TFunc*)) /* TODO: pack */ lua_error("different pointer sizes"); } fread(&w,sizeof(w),1,D); /* test word */