X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=debugfs%2Fsetsuper.c;fp=debugfs%2Fsetsuper.c;h=b1061b28504d3e1856916d748cc746379fe070a3;hb=3e69906495d5898849a6154b0311b5d4a84a27ae;hp=5870770d9a46d5496b84555e5aae0deed0216696;hpb=64aecc4dd35b48f66f452f06c49587c838990d39;p=tools%2Fe2fsprogs.git diff --git a/debugfs/setsuper.c b/debugfs/setsuper.c index 5870770..b1061b2 100644 --- a/debugfs/setsuper.c +++ b/debugfs/setsuper.c @@ -17,6 +17,8 @@ #include #include "debugfs.h" +#include "uuid/uuid.h" +#include "e2p/e2p.h" static struct ext2_super_block set_sb; @@ -174,7 +176,7 @@ static errcode_t parse_string(struct super_set_info *info, char *arg) static errcode_t parse_uuid(struct super_set_info *info, char *arg) { - char * p = (char *) info->ptr; + unsigned char * p = (unsigned char *) info->ptr; if ((strcasecmp(arg, "null") == 0) || (strcasecmp(arg, "clear") == 0)) {