1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

Some C++ warnings

(This used to be commit 5ab82d4f57)
This commit is contained in:
Volker Lendecke
2007-12-20 22:17:16 +01:00
parent eeb92cedde
commit addf598cde
9 changed files with 13 additions and 13 deletions

View File

@ -1382,7 +1382,7 @@ void unix_to_nt_time_abs(NTTIME *nt, time_t t)
d = (double)(t);
d *= 1.0e7;
*nt = d;
*nt = (NTTIME)d;
/* convert to a negative value */
*nt=~*nt;
@ -1443,7 +1443,7 @@ const char *display_time(NTTIME nttime)
low = ~(nttime & 0xFFFFFFFF);
low = low/(1000*1000*10);
sec=high+low;
sec=(int)(high+low);
days=sec/(60*60*24);
hours=(sec - (days*60*60*24)) / (60*60);