diff options
author | Björn Jacke <bj@sernet.de> | 2012-09-06 14:17:25 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-09-06 17:16:30 +0200 |
commit | 44fd8e72081f168c0f75cf9fb8969fe42d1e98c9 (patch) | |
tree | 51234f9a6628a388e6abbadc4810d5a0bc39f0f6 | |
parent | d6cc08b9eeb9de17bc0e610d6cf6dba13c5c8222 (diff) | |
download | samba-44fd8e72081f168c0f75cf9fb8969fe42d1e98c9.tar.gz samba-44fd8e72081f168c0f75cf9fb8969fe42d1e98c9.tar.bz2 samba-44fd8e72081f168c0f75cf9fb8969fe42d1e98c9.zip |
fileserver:sysquotas: remove wrong cast
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Sep 6 17:16:30 CEST 2012 on sn-devel-104
-rw-r--r-- | source3/lib/sysquotas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index 84679f4bcf..cbacc7bad0 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -225,7 +225,7 @@ static int command_get_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t /* we need to deal with long long unsigned here, if supported */ - dp->qflags = (enum SMB_QUOTA_TYPE)strtoul(line, &p2, 10); + dp->qflags = strtoul(line, &p2, 10); p = p2; while (p && *p && isspace(*p)) { p++; |