summaryrefslogtreecommitdiffhomepage
path: root/src/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell.h')
-rw-r--r--src/shell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.h b/src/shell.h
index afd00ca..6a92a02 100644
--- a/src/shell.h
+++ b/src/shell.h
@@ -155,7 +155,7 @@ void sb_puts(strbuf *b, const char *s);
*/
static inline void sb_init(strbuf *b, arena *a) {
b->a = a;
- b->s = NULL;
+ b->s = nullptr;
b->len = b->cap = 0;
}