Commit 7b860bf1 authored by winckel's avatar winckel

Corrected some conversion defines.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4566 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent dd30f76f
...@@ -231,7 +231,7 @@ do { \ ...@@ -231,7 +231,7 @@ do { \
(bITsTRING)->buf = calloc(3, sizeof(uint8_t)); \ (bITsTRING)->buf = calloc(3, sizeof(uint8_t)); \
(bITsTRING)->buf[0] = ((mACRO) >> 12); \ (bITsTRING)->buf[0] = ((mACRO) >> 12); \
(bITsTRING)->buf[1] = (mACRO) >> 4; \ (bITsTRING)->buf[1] = (mACRO) >> 4; \
(bITsTRING)->buf[2] = (mACRO) & 0x0f; \ (bITsTRING)->buf[2] = ((mACRO) & 0x0f) << 4; \
(bITsTRING)->size = 3; \ (bITsTRING)->size = 3; \
(bITsTRING)->bits_unused = 4; \ (bITsTRING)->bits_unused = 4; \
} while(0) } while(0)
...@@ -242,7 +242,7 @@ do { \ ...@@ -242,7 +242,7 @@ do { \
(bITsTRING)->buf[0] = 0; \ (bITsTRING)->buf[0] = 0; \
(bITsTRING)->buf[1] = ((mACRO) >> 12); \ (bITsTRING)->buf[1] = ((mACRO) >> 12); \
(bITsTRING)->buf[2] = (mACRO) >> 4; \ (bITsTRING)->buf[2] = (mACRO) >> 4; \
(bITsTRING)->buf[3] = (mACRO) & 0x0f; \ (bITsTRING)->buf[3] = ((mACRO) & 0x0f) << 4; \
(bITsTRING)->size = 4; \ (bITsTRING)->size = 4; \
(bITsTRING)->bits_unused = 4; \ (bITsTRING)->bits_unused = 4; \
} while(0) } while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment