aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/fmt/dorfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/fmt/dorfmt.c')
-rw-r--r--src/lib9/fmt/dorfmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9/fmt/dorfmt.c b/src/lib9/fmt/dorfmt.c
index cdaee8a5..5b547d51 100644
--- a/src/lib9/fmt/dorfmt.c
+++ b/src/lib9/fmt/dorfmt.c
@@ -13,7 +13,7 @@
*/
#include <stdarg.h>
#include <string.h>
-#include "utf.h"
+#include "plan9.h"
#include "fmt.h"
#include "fmtdef.h"
@@ -53,7 +53,7 @@ dorfmt(Fmt *f, const Rune *fmt)
f->stop = s;
}
- fmt = __fmtdispatch(f, fmt, 1);
+ fmt = __fmtdispatch(f, (Rune*)fmt, 1);
if(fmt == nil)
return -1;
}