Skip to content

Commit 27662d5

Browse files
author
John Nonweiler
committed
Change int type specifiers to equivalent types
Replace 'signed int' with 'int', and 'unsigned int' with 'unsigned', so that .cpp and .h files are consistent, and doxygen doesn't get confused
1 parent d386838 commit 27662d5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/util/options.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,12 @@ void optionst::set_option(const std::string &option,
2727
set_option(option, std::string(value?"1":"0"));
2828
}
2929

30-
void optionst::set_option(const std::string &option,
31-
const signed int value)
30+
void optionst::set_option(const std::string &option, const int value)
3231
{
3332
set_option(option, std::to_string(value));
3433
}
3534

36-
void optionst::set_option(const std::string &option,
37-
const unsigned int value)
35+
void optionst::set_option(const std::string &option, const unsigned value)
3836
{
3937
set_option(option, std::to_string(value));
4038
}

0 commit comments

Comments
 (0)