aboutsummaryrefslogtreecommitdiffstats
path: root/gl/lib/xdectoint.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-06-29 15:27:21 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-06-29 15:29:29 -0700
commit16b5ca6e0df165bd8b9c2d8c7e4bc7d1b7efa25d (patch)
tree665d2e8164077b316fcfc5efa7d9915a145bd8bb /gl/lib/xdectoint.c
parentbuild: ensure that makeinfo ≥ 6.8 checks the @menu structure (diff)
downloadcoreutils-16b5ca6e0df165bd8b9c2d8c7e4bc7d1b7efa25d.tar.gz
coreutils-16b5ca6e0df165bd8b9c2d8c7e4bc7d1b7efa25d.zip
maint: prefer C23-style nullptr
* bootstrap.conf (gnulib_modules): Add nullptr. In code, prefer nullptr to NULL where either will do.
Diffstat (limited to 'gl/lib/xdectoint.c')
-rw-r--r--gl/lib/xdectoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/lib/xdectoint.c b/gl/lib/xdectoint.c
index cc039be8a..da3e655c6 100644
--- a/gl/lib/xdectoint.c
+++ b/gl/lib/xdectoint.c
@@ -40,7 +40,7 @@ __xnumtoint (char const *n_str, int base, __xdectoint_t min, __xdectoint_t max,
strtol_error s_err;
__xdectoint_t tnum;
- s_err = __xstrtol (n_str, NULL, base, &tnum, suffixes);
+ s_err = __xstrtol (n_str, nullptr, base, &tnum, suffixes);
if (s_err == LONGINT_OK)
{