diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-07 10:44:12 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-07 10:44:12 +0000 |
commit | 8adc7c00e158bdebeaab5621002508fd2287e556 (patch) | |
tree | 622dd3cd92bec4935a011a94efa558c9032a8e04 /source3 | |
parent | 91ff83aaa83e0093a1699493be2988539cd1b140 (diff) | |
download | samba-8adc7c00e158bdebeaab5621002508fd2287e556.tar.gz samba-8adc7c00e158bdebeaab5621002508fd2287e556.tar.bz2 samba-8adc7c00e158bdebeaab5621002508fd2287e556.zip |
use double for dummy arrays to ensure alignment
(This used to be commit d651229ef3eb06035d015770c5ea018f33234ebc)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbwrapper/wrapped.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c index 129e9afe84..b8943eafaa 100644 --- a/source3/smbwrapper/wrapped.c +++ b/source3/smbwrapper/wrapped.c @@ -348,7 +348,7 @@ #if HAVE___FXSTAT int __fxstat(int vers, int fd, void *st) { - long xx[32]; + double xx[32]; int ret; if (smbw_fd(fd)) { @@ -364,7 +364,7 @@ #if HAVE___XSTAT int __xstat(int vers, char *name, void *st) { - long xx[32]; + double xx[32]; int ret; if (smbw_path(name)) { @@ -381,7 +381,7 @@ #if HAVE___LXSTAT int __lxstat(int vers, char *name, void *st) { - long xx[32]; + double xx[32]; int ret; if (smbw_path(name)) { @@ -635,7 +635,7 @@ int stat64(char *name, void *st64) { if (smbw_path(name)) { - long xx[32]; + double xx[32]; int ret = stat(name, xx); stat64_convert(xx, st64); return ret; @@ -646,7 +646,7 @@ int fstat64(int fd, void *st64) { if (smbw_fd(fd)) { - long xx[32]; + double xx[32]; int ret = fstat(fd, xx); stat64_convert(xx, st64); return ret; @@ -657,7 +657,7 @@ int lstat64(char *name, void *st64) { if (smbw_path(name)) { - long xx[32]; + double xx[32]; int ret = lstat(name, xx); stat64_convert(xx, st64); return ret; @@ -680,7 +680,7 @@ void *readdir64(void *dir) { if (smbw_dirp(dir)) { - static long xx[70]; + static double xx[70]; void *d; d = (void *)readdir(dir); if (!d) return NULL; |