Unverified Commit ed1edd2a authored by Wolle's avatar Wolle Committed by GitHub

ESP32 Webradio Error #414

typo
parent 6646cf54
...@@ -377,7 +377,7 @@ private: ...@@ -377,7 +377,7 @@ private:
for (int i = 0; i < numBytes; i++) { for (int i = 0; i < numBytes; i++) {
result += *(base + i) << (numBytes -i - 1) * shiftLeft; result += *(base + i) << (numBytes -i - 1) * shiftLeft;
} }
if(result > SIZE_MAX) {log_e("range overflow"), result = 0;}; // overflow if(result > SIZE_MAX) {log_e("range overflow"); result = 0;} // overflow
return (size_t)result; return (size_t)result;
} }
......
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