aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fish_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fish_tests.cpp')
-rw-r--r--src/fish_tests.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp
index 9afb4344..6250513c 100644
--- a/src/fish_tests.cpp
+++ b/src/fish_tests.cpp
@@ -458,10 +458,8 @@ static void test_tok()
if (types[i] != token.type)
{
err(L"Tokenization error:");
- wprintf(L"Token number %d of string \n'%ls'\n, got token type %ld\n",
- i+1,
- str,
- (long)token.type);
+ wprintf(L"Token number %zu of string \n'%ls'\n, got token type %ld\n",
+ i + 1, str, (long)token.type);
}
i++;
}