X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=blobdiff_plain;f=util%2Fnvramtool%2Fcmos_ops.c;h=2bbc8a1df6fe19014168a74a84ebf027f2e2a9a1;hp=86ffe1022b501f2519a42ecd2fed01b8a443683d;hb=1571dc96372899c802e37e7d530acc2ba4848195;hpb=4c50cb24576d962ef266cc6d24123c5ec0c5fae1 diff --git a/util/nvramtool/cmos_ops.c b/util/nvramtool/cmos_ops.c index 86ffe1022..2bbc8a1df 100644 --- a/util/nvramtool/cmos_ops.c +++ b/util/nvramtool/cmos_ops.c @@ -125,7 +125,7 @@ int prepare_cmos_write(const cmos_entry_t * e, const char value_str[], /* See if the first character of 'value_str' (excluding * any initial whitespace) is a minus sign. */ - for (p = value_str; isspace(*p); p++) ; + for (p = value_str; isspace((int)(unsigned char)*p); p++) ; negative = (*p == '-'); out = strtoull(value_str, (char **)&p, 0);