# HG changeset patch # User michael # Date 1213659255 0 # Node ID 80ead68858f322313d56d69aa483b8fb3675c91d # Parent 4f1331b0d428c67aa63ede0de111a5454b547e65 Float11 does not need int, .o file becomes smaller and the code might be faster. diff -r 4f1331b0d428 -r 80ead68858f3 g726.c --- a/g726.c Mon Jun 16 23:31:23 2008 +0000 +++ b/g726.c Mon Jun 16 23:34:15 2008 +0000 @@ -32,9 +32,9 @@ * instead of simply using 32bit integer arithmetic. */ typedef struct Float11 { - int sign; /**< 1bit sign */ - int exp; /**< 4bit exponent */ - int mant; /**< 6bit mantissa */ + uint8_t sign; /**< 1bit sign */ + uint8_t exp; /**< 4bit exponent */ + uint8_t mant; /**< 6bit mantissa */ } Float11; static inline Float11* i2f(int i, Float11* f)