summaryrefslogtreecommitdiffstats
path: root/source3/script/gaptab.awk
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-09-17 17:49:35 +0000
committerAlexander Bokovoy <ab@samba.org>2003-09-17 17:49:35 +0000
commit5715e01481bac7ff8ae4c79c4b7e76b42076f933 (patch)
tree5c3ed01580daee3089612d24bee097e90f20b959 /source3/script/gaptab.awk
parent3612592f5d5b9ce00f542952fb67272fd8d96d90 (diff)
downloadsamba-5715e01481bac7ff8ae4c79c4b7e76b42076f933.tar.gz
samba-5715e01481bac7ff8ae4c79c4b7e76b42076f933.tar.xz
samba-5715e01481bac7ff8ae4c79c4b7e76b42076f933.zip
Fix scripts to generate correct tables for compilers which have character constants as signed chars instead of unsigned
(This used to be commit e4dda8cb222bc3a971088897e47bd8e249cd0188)
Diffstat (limited to 'source3/script/gaptab.awk')
-rw-r--r--source3/script/gaptab.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/gaptab.awk b/source3/script/gaptab.awk
index f9d15263610..a309089cd5b 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); }
}
{