diff options
author | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2010-01-13 12:02:31 +0200 |
---|---|---|
committer | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2010-01-13 12:02:31 +0200 |
commit | 9b3871ed293f76e770e572cd6b59f59670f1f6f8 (patch) | |
tree | 2b79286e3a6f7af9e26466393a0b26075a238be8 /source3/lib/time.c | |
parent | 309473f938d18b9993c2c4f120eeff7b4641985a (diff) | |
parent | ca847952054f5bbde1d40ad4260589b6fcc9721d (diff) | |
download | samba-9b3871ed293f76e770e572cd6b59f59670f1f6f8.tar.gz samba-9b3871ed293f76e770e572cd6b59f59670f1f6f8.tar.bz2 samba-9b3871ed293f76e770e572cd6b59f59670f1f6f8.zip |
Merge branch 'master' of git://git.samba.org/samba
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r-- | source3/lib/time.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c index 5286af37fd..dffc03b1cf 100644 --- a/source3/lib/time.c +++ b/source3/lib/time.c @@ -198,17 +198,17 @@ char *current_timestring(TALLOC_CTX *ctx, bool hires) void srv_put_dos_date(char *buf,int offset,time_t unixdate) { - push_dos_date(buf, offset, unixdate, server_zone_offset); + push_dos_date((uint8_t *)buf, offset, unixdate, server_zone_offset); } void srv_put_dos_date2(char *buf,int offset, time_t unixdate) { - push_dos_date2(buf, offset, unixdate, server_zone_offset); + push_dos_date2((uint8_t *)buf, offset, unixdate, server_zone_offset); } void srv_put_dos_date3(char *buf,int offset,time_t unixdate) { - push_dos_date3(buf, offset, unixdate, server_zone_offset); + push_dos_date3((uint8_t *)buf, offset, unixdate, server_zone_offset); } void round_timespec(enum timestamp_set_resolution res, struct timespec *ts) @@ -439,17 +439,17 @@ struct timespec interpret_long_date(const char *p) void cli_put_dos_date(struct cli_state *cli, char *buf, int offset, time_t unixdate) { - push_dos_date(buf, offset, unixdate, cli->serverzone); + push_dos_date((uint8_t *)buf, offset, unixdate, cli->serverzone); } void cli_put_dos_date2(struct cli_state *cli, char *buf, int offset, time_t unixdate) { - push_dos_date2(buf, offset, unixdate, cli->serverzone); + push_dos_date2((uint8_t *)buf, offset, unixdate, cli->serverzone); } void cli_put_dos_date3(struct cli_state *cli, char *buf, int offset, time_t unixdate) { - push_dos_date3(buf, offset, unixdate, cli->serverzone); + push_dos_date3((uint8_t *)buf, offset, unixdate, cli->serverzone); } time_t cli_make_unix_date(struct cli_state *cli, const void *date_ptr) |