git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5db7fe
)
r18597: A C++ warning
author
Volker Lendecke
<vlendec@samba.org>
Sun, 17 Sep 2006 20:05:09 +0000
(20:05 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:51:57 +0000
(11:51 -0500)
(This used to be commit
528082aed8c24b54d5781c6b3a6062b6cded74ef
)
source3/lib/time.c
patch
|
blob
|
history
diff --git
a/source3/lib/time.c
b/source3/lib/time.c
index 715c1a1bcceb71c9fcc881d67794637315307eb0..9fe69eb45ac10289aba03eeb7366007a3f44de23 100644
(file)
--- a/
source3/lib/time.c
+++ b/
source3/lib/time.c
@@
-270,7
+270,7
@@
time_t pull_dos_date2(const uint8_t *date_ptr, int zone_offset)
x2 = ((x&0xFFFF)<<16) | ((x&0xFFFF0000)>>16);
SIVAL(&x,0,x2);
- return pull_dos_date((
void
*)&x, zone_offset);
+ return pull_dos_date((
const uint8_t
*)&x, zone_offset);
}
/**