From d8d45908fa6c572c661ba51132da87a3bc10c640 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 23 May 2017 00:26:12 -0400 Subject: building with mingw for windows --- src/parseh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parseh.cpp') diff --git a/src/parseh.cpp b/src/parseh.cpp index f7248a8089..9eb851c01a 100644 --- a/src/parseh.cpp +++ b/src/parseh.cpp @@ -628,7 +628,7 @@ static void visit_fn_decl(Context *c, const FunctionDecl *fn_decl) { const ParmVarDecl *param = fn_decl->getParamDecl(i); const char *name = decl_name(param); if (strlen(name) == 0) { - name_buf = buf_sprintf("arg%zu", i); + name_buf = buf_sprintf("arg%" ZIG_PRI_usize "", i); } else { name_buf = buf_create_from_str(name); } -- cgit v1.2.3