Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 99d624c

Browse files
committed
Address -Wsign-compare warnings.
1 parent 7c85ad3 commit 99d624c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test-apps/MockWdmNodeOptions.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
*
3+
* Copyright (c) 2018 Google LLC.
34
* Copyright (c) 2018 Nest Labs, Inc.
45
* All rights reserved.
56
*
@@ -515,7 +516,7 @@ bool MockWdmNodeOptions::HandleOption(const char *progName, OptionSet *optSet, i
515516
}
516517
case kToolOpt_WdmUpdateNumberOfTraits:
517518
{
518-
int tmp;
519+
uint32_t tmp;
519520

520521
if ((!ParseInt(arg, tmp)) || (tmp < 1) || (tmp > mWdmUpdateMaxNumberOfTraits))
521522
{

0 commit comments

Comments
 (0)