diff options
Diffstat (limited to 'pulse.cc')
-rw-r--r-- | pulse.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,9 +82,9 @@ static int volume_as_percent(const pa_cvolume* cvol) { } static int xstrtol(const char *str, long *out) { - char *end = NULL; + char *end = nullptr; - if (str == NULL || *str == '\0') return -1; + if (str == nullptr || *str == '\0') return -1; errno = 0; *out = strtol(str, &end, 10); |