summaryrefslogtreecommitdiffstats
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
commite4dda8cb222bc3a971088897e47bd8e249cd0188 (patch)
tree389393ca360c345561546d0a56974078776de70f
parent3c2ce3456a8939b81f8a666f76d89544ee588d2e (diff)
downloadsamba-e4dda8cb222bc3a971088897e47bd8e249cd0188.tar.gz
samba-e4dda8cb222bc3a971088897e47bd8e249cd0188.tar.xz
samba-e4dda8cb222bc3a971088897e47bd8e249cd0188.zip
Fix scripts to generate correct tables for compilers which have character constants as signed chars instead of unsigned
-rw-r--r--source/script/gaptab.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/script/gaptab.awk b/source/script/gaptab.awk
index f9d15263610..a309089cd5b 100644
--- a/source/script/gaptab.awk
+++ b/source/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); }
}
{