From: Björn Jacke Date: Thu, 6 Sep 2012 12:17:25 +0000 (+0200) Subject: fileserver:sysquotas: remove wrong cast X-Git-Tag: samba-4.0.0rc1~187 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44fd8e72081f168c0f75cf9fb8969fe42d1e98c9;p=thirdparty%2Fsamba.git fileserver:sysquotas: remove wrong cast Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Sep 6 17:16:30 CEST 2012 on sn-devel-104 --- 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++;