tsrb: remove implicit cast in TEST_INIT() macro
This commit is contained in:
parent
b1bfd70e54
commit
937d99b5c8
@ -47,9 +47,7 @@ typedef struct tsrb {
|
|||||||
/**
|
/**
|
||||||
* @brief Static initializer
|
* @brief Static initializer
|
||||||
*/
|
*/
|
||||||
/* XXX remove this implicit cast as soon as possible (requires API change
|
#define TSRB_INIT(BUF) { (BUF), sizeof (BUF), 0, 0 }
|
||||||
* to isrpipe)*/
|
|
||||||
#define TSRB_INIT(BUF) { (uint8_t *)(BUF), sizeof (BUF), 0, 0 }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize a tsrb.
|
* @brief Initialize a tsrb.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user