Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit a49bf11

Browse files
Juha Heiskanenjuhhei01
authored andcommitted
Fix Const pointer wrong use.
Change-Id: I32e7c4865fa08f7b8f9814cf68c85859fb2bd65a
1 parent 3e1972f commit a49bf11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nanostack/mac_common_defines.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ typedef struct mlme_security_s {
7878
* This structure encapsulates security related variables,
7979
*/
8080
typedef struct mac_header_IE_s {
81-
const uint8_t *content_ptr; /**< Content data */
81+
uint8_t *content_ptr; /**< Content data */
8282
unsigned length:7; /**< Element length 0- 127 */
8383
uint8_t id; /**< Element ID */
8484
} mac_header_IE_t;
@@ -94,7 +94,7 @@ typedef struct mac_header_IE_s {
9494
* This structure encapsulates security related variables,
9595
*/
9696
typedef struct mac_payload_IE_s {
97-
const uint8_t *content_ptr; /**< Content data */
97+
uint8_t *content_ptr; /**< Content data */
9898
unsigned length:11; /**< Element length 0- 2047 */
9999
unsigned id:4; /**< Group ID */
100100
} mac_payload_IE_t;

0 commit comments

Comments
 (0)