From 89ac8b058cb7bb8f7bc47a4a42fa5642abc84dae Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Mon, 15 Jul 2013 01:03:35 +0100 Subject: Make some more things 'const' that should be --- t/10keyname.c | 2 +- t/12strpkey.c | 2 +- t/20canon.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 't') diff --git a/t/10keyname.c b/t/10keyname.c index feedbc4..0872bbc 100644 --- a/t/10keyname.c +++ b/t/10keyname.c @@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { TermKey *tk; TermKeySym sym; - char *end; + const char *end; plan_tests(10); diff --git a/t/12strpkey.c b/t/12strpkey.c index cb3d3c0..28c32f5 100644 --- a/t/12strpkey.c +++ b/t/12strpkey.c @@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { TermKey *tk; TermKeyKey key; - char *endp; + const char *endp; #define CLEAR_KEY do { key.type = -1; key.code.codepoint = -1; key.modifiers = -1; key.utf8[0] = 0; } while(0) diff --git a/t/20canon.c b/t/20canon.c index 8d7b6ad..0460153 100644 --- a/t/20canon.c +++ b/t/20canon.c @@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { TermKey *tk; TermKeyKey key; - char *endp; + const char *endp; #define CLEAR_KEY do { key.type = -1; key.code.codepoint = -1; key.modifiers = -1; key.utf8[0] = 0; } while(0) -- cgit v1.2.3-70-g09d2