mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
Convert casts to unions, to fix alignment issues on Solaris
(closes issue #12932) Reported by: snuffy Patches: bug_12932_20080627.diff uploaded by snuffy (license 35) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -103,7 +103,7 @@ static int resample_frame(struct ast_trans_pvt *pvt,
|
||||
int total_in_buf_used = 0;
|
||||
int total_out_buf_used = 0;
|
||||
int16_t *in_buf = (int16_t *) f->data.ptr;
|
||||
int16_t *out_buf = (int16_t *) pvt->outbuf + pvt->samples;
|
||||
int16_t *out_buf = pvt->outbuf.i16 + pvt->samples;
|
||||
float in_buf_f[f->samples];
|
||||
float out_buf_f[2048];
|
||||
int res = 0;
|
||||
|
Reference in New Issue
Block a user