Fixing a warning, no_r=me

--HG--
extra : rebase_source : 2aca8c5affcfe0add916f6cb89d4a2944db3012e
This commit is contained in:
David Mandelin 2009-09-16 12:11:18 -07:00
parent 0d3ac085c7
commit 13be6d7f4a

View File

@ -825,7 +825,7 @@ typedef struct JSGCRootHashEntry {
#define GC_ROOTS_SIZE 256
#if JS_BYTES_PER_WORD == 4 /* 32 bit */
#define GC_MAXBYTES_LIMIT (2 << 30)
#define GC_MAXBYTES_LIMIT ((size_t) (2 << 30))
#else /* 64 bit */
#define GC_MAXBYTES_LIMIT (2LL << 40)
#endif