aboutsummaryrefslogtreecommitdiff
path: root/t/taplib.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-03-31 13:42:27 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-03-31 13:42:27 +0100
commit1bf3c958b13d70e495299238f0e178f8f99ced67 (patch)
tree442ef042be97c7880ddabd01a6dfa895102a997b /t/taplib.c
parentbe153dc5ee8c9f016c1a1014329dcd44450f78a1 (diff)
downloadtermo-1bf3c958b13d70e495299238f0e178f8f99ced67.tar.gz
termo-1bf3c958b13d70e495299238f0e178f8f99ced67.tar.xz
termo-1bf3c958b13d70e495299238f0e178f8f99ced67.zip
taplib's is_str() should take const char *
Diffstat (limited to 't/taplib.c')
-rw-r--r--t/taplib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/taplib.c b/t/taplib.c
index 256523f..5c23a6e 100644
--- a/t/taplib.c
+++ b/t/taplib.c
@@ -41,7 +41,7 @@ void is_int(int got, int expect, char *name)
}
}
-void is_str(char *got, char *expect, char *name)
+void is_str(const char *got, const char *expect, char *name)
{
if(strcmp(got, expect) == 0)
ok(1, name);