We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf2b714 commit 49ae2e0Copy full SHA for 49ae2e0
src/node_revert.cc
@@ -25,7 +25,7 @@ void Revert(const char* cve) {
25
#define V(code, label, _) \
26
do { \
27
if (strcmp(cve, label) == 0) { \
28
- Revert(REVERT_ ## code); \
+ Revert(static_cast<unsigned int>(REVERT_ ## code)); \
29
return; \
30
} \
31
} while (0);
@@ -43,7 +43,7 @@ bool IsReverted(const char * cve) {
43
44
45
if (strcmp(cve, label) == 0) \
46
- return IsReverted(REVERT_ ## code); \
+ return IsReverted(static_cast<unsigned int>(REVERT_ ## code)); \
47
48
REVERSIONS(V)
49
return false;
0 commit comments