Fix KVM symbol generator to remove warnings.

This commit is contained in:
Chris Johns
2015-06-16 13:15:49 +10:00
parent 7c8c0eb134
commit 59a9e6a5da

View File

@@ -99,10 +99,10 @@ EOF
for sym in ${symbols}
do
no_underscore=`echo $sym | sed -e 's/^_//' `
echo " { \"${sym}\", &${no_underscore} },"
echo " { \"${sym}\", (uintptr_t) &${no_underscore} },"
done
cat <<EOF
{ "", NULL }
{ "", (uintptr_t) NULL }
};
EOF