From 58431879b19a1b1cd5ff3a6575be07c46c73db39 Mon Sep 17 00:00:00 2001 From: "Andrew J. Schorr" Date: Mon, 27 Sep 2021 10:26:15 -0400 Subject: Patch ord function to avoid returning negative values. --- test/ordchr.awk | 1 + 1 file changed, 1 insertion(+) (limited to 'test/ordchr.awk') diff --git a/test/ordchr.awk b/test/ordchr.awk index 0295105e..5d6ffe9f 100644 --- a/test/ordchr.awk +++ b/test/ordchr.awk @@ -7,4 +7,5 @@ BEGIN { # test if type conversion between strings and numbers is working properly print chr(ord(0)) print ord(chr("65")) + print ord(chr("159")) } -- cgit v1.2.3