Skip to content

Commit e8858c0

Browse files
committed
storage_common: fix signed comparison
1 parent e79d4ff commit e8858c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: libraries/Storage/storage_common.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
extern "C" {
88
#endif
99

10-
//#define STORAGE_DEBUG
11-
//#define STORAGE_ASSERT
10+
#define STORAGE_DEBUG
11+
#define STORAGE_ASSERT
1212

1313
/* -------------------------------------------------------------------------- */
1414
/* STORAGE DEBUG */
@@ -61,7 +61,7 @@ static inline void rns_storage_dbg_mem(uint8_t *b, uint32_t _size)
6161
{
6262
if (b != nullptr) {
6363
Serial.println("");
64-
for(int i = 0; i < _size; i++) {
64+
for(uint32_t i = 0; i < _size; i++) {
6565
if(i != 0 && i % PRINT_SIZE == 0) {
6666
if(i != 0)
6767
Serial.println();

0 commit comments

Comments
 (0)