diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2006-08-30 18:05:00 +0400 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2006-08-30 18:05:00 +0400 |
commit | 8157ec116ad3cce2b7b410d06340a6f7306ed6b1 (patch) | |
tree | b1fd63706358c1b8752a97dbe219a7a17c2a3361 /libspeex/nb_celp.c | |
parent | a23f8009d960748cf870cd3dd98d6831d59b9456 (diff) |
more replacements of int with spx_int32_t
git-svn-id: http://svn.xiph.org/trunk/speex@11821 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'libspeex/nb_celp.c')
-rw-r--r-- | libspeex/nb_celp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libspeex/nb_celp.c b/libspeex/nb_celp.c index 774a4fc..234ac2d 100644 --- a/libspeex/nb_celp.c +++ b/libspeex/nb_celp.c @@ -1825,7 +1825,7 @@ int nb_encoder_ctl(void *state, int request, void *ptr) break; case SPEEX_SET_QUALITY: { - int quality = (*(int*)ptr); + int quality = (*(spx_int32_t*)ptr); if (quality < 0) quality = 0; if (quality > 10) @@ -1937,7 +1937,7 @@ int nb_encoder_ctl(void *state, int request, void *ptr) st->innov_save = (spx_sig_t*)ptr; break; case SPEEX_SET_WIDEBAND: - st->isWideband = *((int*)ptr); + st->isWideband = *((spx_int32_t*)ptr); break; default: speex_warning_int("Unknown nb_ctl request: ", request); @@ -2045,7 +2045,7 @@ int nb_decoder_ctl(void *state, int request, void *ptr) st->innov_save = (spx_sig_t*)ptr; break; case SPEEX_SET_WIDEBAND: - st->isWideband = *((int*)ptr); + st->isWideband = *((spx_int32_t*)ptr); break; default: speex_warning_int("Unknown nb_ctl request: ", request); |