Skip to content

Commit d0a1035

Browse files
authored
Fix compiler warning: comparison between signed...
... and unsigned integer expressions [-Wsign-compare]
1 parent 7528a84 commit d0a1035

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

DHT.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@
2626
#include "DHT.h"
2727

2828
#define MIN_INTERVAL 2000 /**< min interval value */
29-
#define TIMEOUT UINT32_MAX /**< Used programmatically for timeout. \
30-
Not a timeout duration. Type: uint32_t. */
29+
#define TIMEOUT \
30+
UINT32_MAX /**< Used programmatically for timeout. \
31+
Not a timeout duration. Type: uint32_t. */
3132

3233
/*!
3334
* @brief Instantiates a new DHT class

0 commit comments

Comments
 (0)