Makes silk_ADD_SAT32() conform to the C standard
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 12 Apr 2012 20:35:19 +0000 (16:35 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 12 Apr 2012 20:35:19 +0000 (16:35 -0400)
commit94a4989cdbb07e310d3e9486fa3e81a8b2e68bf9
treef7a3e81e996f532fbf83e838ffb17cf8b5628794
parent367c39486618fe6a6f9ffe85e834d59cae241253
Makes silk_ADD_SAT32() conform to the C standard

This changes the saturation test to ensure that it relies on the
unsigned overflow behaviour (which is allowed) rather than the signed
overflow behaviour (which is undefined).
silk/MacroDebug.h
silk/macros.h