summaryrefslogtreecommitdiff
path: root/tests/aplwc_errstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/aplwc_errstr.c')
-rw-r--r--tests/aplwc_errstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aplwc_errstr.c b/tests/aplwc_errstr.c
index 0efb777..8014c1e 100644
--- a/tests/aplwc_errstr.c
+++ b/tests/aplwc_errstr.c
@@ -35,7 +35,7 @@ main(void)
if(err == NULL)
return 1;
- for(ret = 0; ret < APLWC_RC_LAST; ret++){
+ for(ret = 0; ret <= APLWC_RC_LAST; ret++){
err = aplwc_errstr_rc(ret);
if(err == NULL)
return 1;