changed type of m and szx in coap_block_t back to unsigned int.

This is a partial revert of commit 4f6a7f5db to avoid compiler-specific
code.
This commit is contained in:
Olaf Bergmann committed 2014-06-18 18:48:37 +02:00
1 parent 4146735548
commit e90be63294
1 file changed
+2 -2
+2 -2
View File
@@ -36,8 +36,8 @@
*/
typedef struct {
unsigned int num; /**< block number */
uint8_t m:1; /**< 1 if more blocks follow, 0 otherwise */
uint8_t szx:3; /**< block size */
unsigned int m:1; /**< 1 if more blocks follow, 0 otherwise */
unsigned int szx:3; /**< block size */
} coap_block_t;
/**