]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
fileserver:sysquotas: remove wrong cast
authorBjörn Jacke <bj@sernet.de>
Thu, 6 Sep 2012 12:17:25 +0000 (14:17 +0200)
committerBjoern Jacke <bj@sernet.de>
Thu, 6 Sep 2012 15:16:30 +0000 (17:16 +0200)
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Sep  6 17:16:30 CEST 2012 on sn-devel-104

source3/lib/sysquotas.c

index 84679f4bcf3e69636ffdca049c5d9fbe4a2eba7a..cbacc7bad05c3160557331ae379d88dd9f29d15f 100644 (file)
@@ -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++;