Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
NULL-terminate the lists of autogenerated converters.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 11, 2009
1 parent bff95d7 commit 12091e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/audio/sdlgenaudiocvt.pl
Expand Up @@ -338,6 +338,7 @@ sub buildTypeConverters {
}
print "#endif /* !NO_CONVERTERS */\n";

print(" { 0, 0, NULL }\n");
print "};\n\n\n";
}

Expand Down Expand Up @@ -735,6 +736,7 @@ sub buildResamplers {

print "#endif /* !LESS_RESAMPLERS */\n";
print "#endif /* !NO_RESAMPLERS */\n";
print(" { 0, 0, 0, 0, NULL }\n");
print "};\n\n";
}

Expand Down

0 comments on commit 12091e3

Please sign in to comment.