aboutsummaryrefslogtreecommitdiff
path: root/feature_to_c.sh
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-31 21:16:51 +0000
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 21:23:36 -0500
commita15909ac3f805e188ce57a545c3457c9fe7e2535 (patch)
treea30d8a4a64e347bb30cc84607f12593c99859743 /feature_to_c.sh
parentad19cf307ea18a54405e88f48ae8ae8c3e400679 (diff)
Fix Sparse warnings: "Using plain integer as NULL pointer"
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'feature_to_c.sh')
-rw-r--r--feature_to_c.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/feature_to_c.sh b/feature_to_c.sh
index 53975ebca7..dbf9f19c91 100644
--- a/feature_to_c.sh
+++ b/feature_to_c.sh
@@ -72,5 +72,5 @@ for input; do
echo " { \"$basename\", $arrayname }," >> $output
done
-echo " { 0, 0 }" >> $output
+echo " { (char *)0, (char *)0 }" >> $output
echo "};" >> $output