diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-05-25 17:50:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:16 -0500 |
commit | fcd718c7d8a6850ae8719f23ed044b06b57501cd (patch) | |
tree | 78fe8265d44c4644b01963784a37f4505785fb97 /source4/lib/time.c | |
parent | f88bf54c7f6d1c2ef833047eb8327953c304b5ff (diff) | |
download | samba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.tar.gz samba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.tar.bz2 samba-fcd718c7d8a6850ae8719f23ed044b06b57501cd.zip |
r890: convert samba4 to use [u]int8_t instead of [u]int8
metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
Diffstat (limited to 'source4/lib/time.c')
-rw-r--r-- | source4/lib/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/time.c b/source4/lib/time.c index 1f95ef7daf..e95d3a8d17 100644 --- a/source4/lib/time.c +++ b/source4/lib/time.c @@ -243,7 +243,7 @@ static void interpret_dos_date(uint32_t date,int *year,int *month,int *day,int * create a unix date (int GMT) from a dos date (which is actually in localtime) ********************************************************************/ -time_t pull_dos_date(const uint8 *date_ptr, int zone_offset) +time_t pull_dos_date(const uint8_t *date_ptr, int zone_offset) { uint32_t dos_date=0; struct tm t; @@ -267,7 +267,7 @@ time_t pull_dos_date(const uint8 *date_ptr, int zone_offset) /******************************************************************* like make_unix_date() but the words are reversed ********************************************************************/ -time_t pull_dos_date2(const uint8 *date_ptr, int zone_offset) +time_t pull_dos_date2(const uint8_t *date_ptr, int zone_offset) { uint32_t x,x2; @@ -282,7 +282,7 @@ time_t pull_dos_date2(const uint8 *date_ptr, int zone_offset) create a unix GMT date from a dos date in 32 bit "unix like" format these generally arrive as localtimes, with corresponding DST ******************************************************************/ -time_t pull_dos_date3(const uint8 *date_ptr, int zone_offset) +time_t pull_dos_date3(const uint8_t *date_ptr, int zone_offset) { time_t t = (time_t)IVAL(date_ptr,0); if (!null_mtime(t)) { |