Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎libraries/Storage/storage_common.h

Lines changed: 3 additions & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /