Skip to content

Commit

Permalink
src: avoid compiler warning in node_revert.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Feb 9, 2016
1 parent 5c94624 commit 06d2e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node_revert.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void Revert(const char* cve) {
#define V(code, label, _) \
do { \
if (strcmp(cve, label) == 0) { \
Revert(REVERT_ ## code); \
Revert(static_cast<unsigned int>(REVERT_ ## code)); \
return; \
} \
} while (0);
Expand All @@ -63,7 +63,7 @@ bool IsReverted(const char * cve) {
#define V(code, label, _) \
do { \
if (strcmp(cve, label) == 0) \
return IsReverted(REVERT_ ## code); \
return IsReverted(static_cast<unsigned int>(REVERT_ ## code)); \
} while (0);
REVERSIONS(V)
return false;
Expand Down

0 comments on commit 06d2e56

Please sign in to comment.