chesterpolo / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

warning at compile under mingw #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install mingw
2. get fresh mongoose
3. compile mongoose
4. mongoose.c:1061: warning: integer constant is too large for "long" type
1061: stp->mtime = SYS2UNIX_TIME(info.ftLastWriteTime.dwLowDateTime,
            info.ftLastWriteTime.dwHighDateTime);

What is the expected output? What do you see instead?
no warnings

What version of the product are you using? On what operating system?
windows 7 32bit

Please provide any additional information below.

fix this line
73: #define EPOCH_DIFF  0x019DB1DED53E8000 /* 116444736000000000 nsecs */
to
73: #define EPOCH_DIFF  0x019DB1DED53E8000ull /* 116444736000000000 nsecs */

Original issue reported on code.google.com by to.merge@gmail.com on 28 Jun 2010 at 4:41

GoogleCodeExporter commented 9 years ago
Submitted 
http://code.google.com/p/mongoose/source/detail?r=60efed5fb6c2717fb7c67ecdf1ed82
1b2d6ad416
Thank you.

Original comment by valenok on 23 Aug 2010 at 8:47