diff options
Diffstat (limited to 'src/3rdparty/freebsd/strtoull.c')
-rw-r--r-- | src/3rdparty/freebsd/strtoull.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/freebsd/strtoull.c b/src/3rdparty/freebsd/strtoull.c index 7cb97f02f4..1eb92578d4 100644 --- a/src/3rdparty/freebsd/strtoull.c +++ b/src/3rdparty/freebsd/strtoull.c @@ -107,6 +107,6 @@ noconv: } else if (neg) acc = (unsigned long long) -(long long)acc; if (endptr != NULL) - *endptr = (char *)(any ? s - 1 : nptr); + *endptr = const_cast<char *>(any ? s - 1 : nptr); return (acc); } |