summaryrefslogtreecommitdiff
path: root/source/sys_win.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-04-23 15:02:41 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-04-23 15:02:41 +0000
commit49e6170b49fbb933eddec6d0e3f946320c68832f (patch)
tree88d228d6f89103710074fdba041ce80584d5caa6 /source/sys_win.c
parent8c795585fb0c6c9178d9981f6943da04b7279205 (diff)
Added `dumpents' server command.
Added support for `cl_noskins' value of 2 (default all female skins to `female/athena', all male skins to `male/grunt'). Renamed `scoreshot' command to `aashot', added `aadump' command. Fixed several alignment issues on ARM architecture. Server browser menu now indicates full and password protected servers with color codes. Implemented history search in console with Ctrl+R, Ctrl+S. Removed `cl_railtrail_alpha' variable, all `cl_rail*_color' variables now accept colors in #RRGGBBAA format. Added `map_override' cvar (enables loading map entity lump from external maps/*.ent file). Made `quit' command accept extra arguments. Made `draw' command accept arbitrary colors in #RRGGBBAA format. Fixed debian packages.
Diffstat (limited to 'source/sys_win.c')
-rw-r--r--source/sys_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sys_win.c b/source/sys_win.c
index 06d6ebd..b1c4c09 100644
--- a/source/sys_win.c
+++ b/source/sys_win.c
@@ -631,7 +631,7 @@ MISC
static inline time_t Sys_FileTimeToUnixTime( FILETIME *f ) {
ULARGE_INTEGER u = *( ULARGE_INTEGER * )f;
- return ( time_t )( ( u.QuadPart - 116444736000000000U ) / 10000000 );
+ return ( time_t )( ( u.QuadPart - 116444736000000000ULL ) / 10000000 );
}
unsigned Sys_Milliseconds( void ) {