From 44fd8e72081f168c0f75cf9fb8969fe42d1e98c9 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Thu, 6 Sep 2012 14:17:25 +0200 Subject: fileserver:sysquotas: remove wrong cast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User(master): Björn Jacke Autobuild-Date(master): Thu Sep 6 17:16:30 CEST 2012 on sn-devel-104 --- source3/lib/sysquotas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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++; -- cgit