Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gcc -Wall nits.
[tools/e2fsprogs.git]
/
debugfs
/
setsuper.c
diff --git
a/debugfs/setsuper.c
b/debugfs/setsuper.c
index
5870770
..
b1061b2
100644
(file)
--- a/
debugfs/setsuper.c
+++ b/
debugfs/setsuper.c
@@
-17,6
+17,8
@@
#include <utime.h>
#include "debugfs.h"
#include <utime.h>
#include "debugfs.h"
+#include "uuid/uuid.h"
+#include "e2p/e2p.h"
static struct ext2_super_block set_sb;
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)
{
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)) {
if ((strcasecmp(arg, "null") == 0) ||
(strcasecmp(arg, "clear") == 0)) {