diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-03-27 12:58:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-03-27 12:58:05 -0300 |
commit | 420cc62facc5b49d0aebfb9be7ddfe911d77ff97 (patch) | |
tree | 0ad2341511bd07e78434808b5e5a71f71bd5e323 /lundump.c | |
parent | 1a3ebc203a04a4b312d1692d41eeda7035ea0eef (diff) | |
download | lua-420cc62facc5b49d0aebfb9be7ddfe911d77ff97.tar.gz lua-420cc62facc5b49d0aebfb9be7ddfe911d77ff97.tar.bz2 lua-420cc62facc5b49d0aebfb9be7ddfe911d77ff97.zip |
missplelling in comments/function names (endianess -> endianness)
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 2.33 2014/03/11 18:05:46 roberto Exp roberto $ | 2 | ** $Id: lundump.c,v 2.34 2014/03/11 18:56:27 roberto Exp roberto $ |
3 | ** load precompiled Lua chunks | 3 | ** load precompiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -42,7 +42,7 @@ static l_noret error(LoadState *S, const char *why) { | |||
42 | 42 | ||
43 | /* | 43 | /* |
44 | ** All high-level loads go through LoadVector; you can change it to | 44 | ** All high-level loads go through LoadVector; you can change it to |
45 | ** adapt to the endianess of the input | 45 | ** adapt to the endianness of the input |
46 | */ | 46 | */ |
47 | #define LoadVector(S,b,n) LoadBlock(S,b,(n)*sizeof((b)[0])) | 47 | #define LoadVector(S,b,n) LoadBlock(S,b,(n)*sizeof((b)[0])) |
48 | 48 | ||
@@ -231,7 +231,7 @@ static void checkHeader (LoadState *S) { | |||
231 | checksize(S, lua_Integer); | 231 | checksize(S, lua_Integer); |
232 | checksize(S, lua_Number); | 232 | checksize(S, lua_Number); |
233 | if (LoadInteger(S) != LUAC_INT) | 233 | if (LoadInteger(S) != LUAC_INT) |
234 | error(S, "endianess mismatch in"); | 234 | error(S, "endianness mismatch in"); |
235 | if (LoadNumber(S) != LUAC_NUM) | 235 | if (LoadNumber(S) != LUAC_NUM) |
236 | error(S, "float format mismatch in"); | 236 | error(S, "float format mismatch in"); |
237 | } | 237 | } |