peterdrysdale/bellbird — pull request #3 by zeehio (2014-03-03 09:29:08+00:00)
Title: Prevent overflows casting from double to short

This check is taken from HTS_Engine_save_generated_speech()

https://github.com/zeehio/festival/blob/master/src/modules/hts_engine/HTS_engine.c#L641