Murata RF modules are designed to simplify wireless development and certification by minimizing the amount of RF expertise you need to wirelessly enable a wide range of applications.
Diff: MuRata.cpp
- Revision:
- 3:90ea1b8b2621
- Parent:
- 2:f8e393a81c25
- Child:
- 4:7388451219ee
--- a/MuRata.cpp Wed Feb 04 20:37:40 2015 +0000 +++ b/MuRata.cpp Thu Feb 05 04:02:41 2015 +0000 @@ -775,13 +775,13 @@ if (content->GetMethod() == POST) { int length = content->GetContentLength(); - char msb = (char)(length >> 8); + char msb = length >> 8; if (chunked) msb |= 0x80; else msb &= 0x7F; _payload.SetContent(msb); - _payload.SetContent((char)length); + _payload.SetContent(length); if (length > 0) _payload.SetContent(content->GetBody(), 0, length);