diff options
author | Simon Rettberg | 2014-03-19 14:35:19 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-03-19 14:35:19 +0100 |
commit | e3806b35a212fc846f3a3e4b61090d9e6196cc1d (patch) | |
tree | 3e65b810aa62557579a348e44b24e205bd057ba3 /scan_ldapmodifyrequest.c | |
parent | Work (diff) | |
download | ldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.tar.gz ldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.tar.xz ldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.zip |
Fixed compilation warnings about pointer mismatch on 32bit
Diffstat (limited to 'scan_ldapmodifyrequest.c')
-rw-r--r-- | scan_ldapmodifyrequest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scan_ldapmodifyrequest.c b/scan_ldapmodifyrequest.c index ba42e4f..8a08388 100644 --- a/scan_ldapmodifyrequest.c +++ b/scan_ldapmodifyrequest.c @@ -27,7 +27,8 @@ size_t scan_ldapmodifyrequest(const char* src,const char* max,struct ModifyReque max=src+res+oslen; if (src+res>=max) goto error; /* need at least one record */ do { - size_t islen, etmp; + size_t islen; + unsigned long etmp; if (last) { struct Modification* cur; if (!(cur=malloc(sizeof(struct Modification)))) goto error; |