Commit 8ca737d4 authored by Ryan C. Gordon's avatar Ryan C. Gordon

NULL-terminate the lists of autogenerated converters.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403482
parent ed652245
...@@ -338,6 +338,7 @@ sub buildTypeConverters { ...@@ -338,6 +338,7 @@ sub buildTypeConverters {
} }
print "#endif /* !NO_CONVERTERS */\n"; print "#endif /* !NO_CONVERTERS */\n";
print(" { 0, 0, NULL }\n");
print "};\n\n\n"; print "};\n\n\n";
} }
...@@ -735,6 +736,7 @@ sub buildResamplers { ...@@ -735,6 +736,7 @@ sub buildResamplers {
print "#endif /* !LESS_RESAMPLERS */\n"; print "#endif /* !LESS_RESAMPLERS */\n";
print "#endif /* !NO_RESAMPLERS */\n"; print "#endif /* !NO_RESAMPLERS */\n";
print(" { 0, 0, 0, 0, NULL }\n");
print "};\n\n"; print "};\n\n";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment