]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/export/export.c
Exportfs crashes with long path
[nfs-utils.git] / support / export / export.c
index 4fda30a799169e232e42b56d63579e315748c3c9..0257903b45b233d4f44ad8df461655291516b132 100644 (file)
@@ -357,7 +357,7 @@ strtoint(char *str)
 static int 
 export_hash(char *str)
 {
-       int num = strtoint(str);
+       unsigned int num = strtoint(str);
 
        return num % HASH_TABLE_SIZE;
 }