summaryrefslogtreecommitdiffstats
path: root/src/bar.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-09-26 12:48:21 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-09-26 12:48:21 -0400
commitdccb52556730ff060bcccbe764cef4b13b3d5712 (patch)
treece71c0bb7a21f6511be8d45af19f722cf46c00ee /src/bar.c
parent8864dc5d1b9c85daa58e98c04767d2ee528f2dea (diff)
downloadbfs-dccb52556730ff060bcccbe764cef4b13b3d5712.tar.xz
dstring: New dchar typedef for dynamic strings
Diffstat (limited to 'src/bar.c')
-rw-r--r--src/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar.c b/src/bar.c
index d2c663c..e0b9393 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -129,7 +129,7 @@ BFS_FORMATTER(2, 3)
static int bfs_bar_printf(struct bfs_bar *bar, const char *format, ...) {
va_list args;
va_start(args, format);
- char *str = dstrvprintf(format, args);
+ dchar *str = dstrvprintf(format, args);
va_end(args);
if (!str) {