Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2009-10-17 22:35:13 +0400
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2009-10-17 22:35:13 +0400
commit30f7f813ea48388305f91e4cc961e866d0d0f49a (patch)
tree9fbd73610f921e2da69d2ce80ef166cf9f563a63 /libcelt/fixed_generic.h
parentd35d67754304c8412848c6596ecb5db8f99ae1e0 (diff)
Changed all the celt*int*_t types to remove the _t suffix, which is reserved
by POSIX. The other _t types that are not part of the API are still there for now. Also, got rid of all that was left of the 64-bit types.
Diffstat (limited to 'libcelt/fixed_generic.h')
-rw-r--r--libcelt/fixed_generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/fixed_generic.h b/libcelt/fixed_generic.h
index a273c62..d4e02af 100644
--- a/libcelt/fixed_generic.h
+++ b/libcelt/fixed_generic.h
@@ -36,7 +36,7 @@
#define FIXED_GENERIC_H
/** Multiply a 16-bit signed value by a 16-bit unsigned value. The result is a 32-bit signed value */
-#define MULT16_16SU(a,b) ((celt_word32_t)(celt_word16_t)(a)*(celt_word32_t)(celt_uint16_t)(b))
+#define MULT16_16SU(a,b) ((celt_word32_t)(celt_word16_t)(a)*(celt_word32_t)(celt_uint16)(b))
/** 16x32 multiplication, followed by a 16-bit shift right. Results fits in 32 bits */
#define MULT16_32_Q16(a,b) ADD32(MULT16_16((a),SHR((b),16)), SHR(MULT16_16SU((a),((b)&0x0000ffff)),16))