Commit 4ef8320e authored by Sachin Agrawal's avatar Sachin Agrawal Committed by William R. Dieter

IOT-25 Jira Bug : RightShift on signed numbers have an undefined behavior....

IOT-25 Jira Bug : RightShift on signed numbers have an undefined behavior. This caused send operations
    to fail randomly on Arduino Mega boards.

Change-Id: I6b0a7f620b6ef35f67161d5ecb7521cbef4108c8
parent cdeeed62
......@@ -713,7 +713,7 @@ coap_tid_t coap_send(coap_context_t *context,
coap_tick_t now;
coap_tid_t tid;
int bytesWritten;
int r;
unsigned int r;
if (!context)
return COAP_INVALID_TID;
......
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