From e90be6329472ceed35058af5e2cdf1b0189d167d Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 18 Jun 2014 18:48:37 +0200 Subject: [PATCH] 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. --- block.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block.h b/block.h index 6eeae33f..1d501c92 100644 --- a/block.h +++ b/block.h @@ -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; /**