summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-01-16 23:27:37 +0000
committerRichard Sharpe <sharpe@samba.org>2003-01-16 23:27:37 +0000
commit2ff1d60bdc8e3635db0dc90482d0d2f9db653e9d (patch)
tree8e987be157705bb172ba1faa611eda5dc7f651ea /source3
parenteffbd70c21d49255e9cf5eae3e71a7fe93fc7950 (diff)
downloadsamba-2ff1d60bdc8e3635db0dc90482d0d2f9db653e9d.tar.gz
samba-2ff1d60bdc8e3635db0dc90482d0d2f9db653e9d.tar.bz2
samba-2ff1d60bdc8e3635db0dc90482d0d2f9db653e9d.zip
Fix an error where the SK Offset was truncated to 16 bits. Variables needed
to be unsigned int (DWORD) not unsigned int (WORD). (This used to be commit e1e9c29c4095405d7031cfd618e06dd841075aad)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/profiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c
index 9424233e11..14b480cd16 100644
--- a/source3/utils/profiles.c
+++ b/source3/utils/profiles.c
@@ -537,7 +537,7 @@ int main(int argc, char *argv[])
HBIN_HDR *hbin_hdr;
NK_HDR *nk_hdr;
SK_HDR *sk_hdr;
- WORD first_sk_off, sk_off;
+ DWORD first_sk_off, sk_off;
MY_SEC_DESC *sec_desc;
int *ptr;