summaryrefslogtreecommitdiffstats
path: root/source3/lib/sysquotas.c
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-06 14:17:25 +0200
committerBjoern Jacke <bj@sernet.de>2012-09-06 17:16:30 +0200
commit44fd8e72081f168c0f75cf9fb8969fe42d1e98c9 (patch)
tree51234f9a6628a388e6abbadc4810d5a0bc39f0f6 /source3/lib/sysquotas.c
parentd6cc08b9eeb9de17bc0e610d6cf6dba13c5c8222 (diff)
downloadsamba-44fd8e72081f168c0f75cf9fb8969fe42d1e98c9.tar.gz
samba-44fd8e72081f168c0f75cf9fb8969fe42d1e98c9.tar.xz
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
Diffstat (limited to 'source3/lib/sysquotas.c')
-rw-r--r--source3/lib/sysquotas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c
index 84679f4bcf3..cbacc7bad05 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++;