From 5715e01481bac7ff8ae4c79c4b7e76b42076f933 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 17 Sep 2003 17:49:35 +0000 Subject: Fix scripts to generate correct tables for compilers which have character constants as signed chars instead of unsigned (This used to be commit e4dda8cb222bc3a971088897e47bd8e249cd0188) --- source3/script/gaptab.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/script/gaptab.awk b/source3/script/gaptab.awk index f9d1526361..a309089cd5 100644 --- a/source3/script/gaptab.awk +++ b/source3/script/gaptab.awk @@ -23,9 +23,9 @@ function tonum(str) function fmt(val) { if (f++ % 8 == 0) - { printf ("\n '\\x%02x',", val); } + { printf ("\n 0x%02x,", val); } else - { printf (" '\\x%02x',", val); } + { printf (" 0x%02x,", val); } } { -- cgit