summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/scripts/gen-as-const.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/scripts/gen-as-const.awk b/extra/scripts/gen-as-const.awk
index f9ec31672..013bd6e85 100644
--- a/extra/scripts/gen-as-const.awk
+++ b/extra/scripts/gen-as-const.awk
@@ -26,7 +26,7 @@ NF == 1 { sub(/^.*$/, "& &"); }
NF > 1 {
name = $1;
sub(/^[^ ]+[ ]+/, "");
- printf "__asm__ (\"@@@name@@@%s@@@value@@@%%0@@@end@@@\" : : \"i\" (%s));\n",
+ printf "__asm__ (\"@@@name@@@%s@@@value@@@%%0@@@end@@@\" : : \"i\" ((long) %s));\n",
name, $0;
}