fix warning with Intel compiler

pull/2/head
weidai 2007-05-04 19:56:16 +00:00
parent 1a66826785
commit a740a0ff83
1 changed files with 2 additions and 2 deletions

View File

@ -117,10 +117,10 @@ typedef unsigned int word32;
// define large word type, used for file offsets and such // define large word type, used for file offsets and such
#ifdef WORD64_AVAILABLE #ifdef WORD64_AVAILABLE
typedef word64 lword; typedef word64 lword;
const lword LWORD_MAX = W64LIT(0)-1; const lword LWORD_MAX = W64LIT(0xffffffffffffffff);
#else #else
typedef word32 lword; typedef word32 lword;
const lword LWORD_MAX = lword(0)-1; const lword LWORD_MAX = 0xffffffffUL;
#endif #endif
// define hword, word, and dword. these are used for multiprecision integer arithmetic // define hword, word, and dword. these are used for multiprecision integer arithmetic