aboutsummaryrefslogtreecommitdiffstats
path: root/extension/ordchr.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-05-11 15:05:35 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-05-11 15:05:35 +0300
commite5353c0f447a8628985722296f57fc02dd2e0063 (patch)
treee41c41ba69b3c707cad6f6dbd3f1f9374e1eeafd /extension/ordchr.c
parent4f8aff5908706e6f526b61337d10a412f4f66360 (diff)
downloadegawk-e5353c0f447a8628985722296f57fc02dd2e0063.tar.gz
egawk-e5353c0f447a8628985722296f57fc02dd2e0063.tar.bz2
egawk-e5353c0f447a8628985722296f57fc02dd2e0063.zip
Move to use of bool type, true, false, everywhere.
Diffstat (limited to 'extension/ordchr.c')
-rw-r--r--extension/ordchr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/ordchr.c b/extension/ordchr.c
index a979607b..6abda181 100644
--- a/extension/ordchr.c
+++ b/extension/ordchr.c
@@ -43,7 +43,7 @@ do_ord(int nargs)
if (do_lint && nargs > 1)
lintwarn("ord: called with too many arguments");
- str = get_scalar_argument(0, FALSE);
+ str = get_scalar_argument(0, false);
if (str != NULL) {
(void) force_string(str);
ret = str->stptr[0];
@@ -70,7 +70,7 @@ do_chr(int nargs)
if (do_lint && nargs > 1)
lintwarn("chr: called with too many arguments");
- num = get_scalar_argument(0, FALSE);
+ num = get_scalar_argument(0, false);
if (num != NULL) {
val = get_number_d(num);
ret = val; /* convert to int */