Eliminate compiler warning.
This commit is contained in:
parent
1c38f2ea70
commit
37438111e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54006
@ -127,6 +127,6 @@ strtol(nptr, endptr, base)
|
||||
} else if (neg)
|
||||
acc = -acc;
|
||||
if (endptr != 0)
|
||||
*endptr = (char *)(any ? s - 1 : nptr);
|
||||
*((const char **)endptr) = any ? s - 1 : nptr;
|
||||
return (acc);
|
||||
}
|
||||
|
@ -128,6 +128,6 @@ strtoq(const char *nptr, char **endptr, int base)
|
||||
} else if (neg)
|
||||
acc = -acc;
|
||||
if (endptr != 0)
|
||||
*endptr = (char *)(any ? s - 1 : nptr);
|
||||
*((const char **)endptr) = any ? s - 1 : nptr;
|
||||
return (acc);
|
||||
}
|
||||
|
@ -106,6 +106,6 @@ strtoul(nptr, endptr, base)
|
||||
} else if (neg)
|
||||
acc = -acc;
|
||||
if (endptr != 0)
|
||||
*endptr = (char *)(any ? s - 1 : nptr);
|
||||
*((const char **)endptr) = any ? s - 1 : nptr;
|
||||
return (acc);
|
||||
}
|
||||
|
@ -106,6 +106,6 @@ strtouq(const char *nptr, char **endptr, int base)
|
||||
} else if (neg)
|
||||
acc = -acc;
|
||||
if (endptr != 0)
|
||||
*endptr = (char *)(any ? s - 1 : nptr);
|
||||
*((const char **)endptr) = any ? s - 1 : nptr;
|
||||
return (acc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user