Skip to content

Commit 1975b60

Browse files
committed
Fixed warning due to possible incompatible types
1 parent 8b4bbdf commit 1975b60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cookie_date.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ namespace curl {
4242
// Leave this alone :)
4343
namespace details {
4444
// Map months numbers with months short names (cookies likes it short XD)
45-
static const std::map<int,std::string> monthsNames = {
45+
static const std::map<unsigned int,std::string> monthsNames = {
4646
{JANUARY,"Jan"}, {FEBRUARY,"Feb"}, {MARCH,"Mar"}, {APRIL,"Apr"}, {MAY,"May"}, {JUNE,"Jun"},
4747
{JULY,"Jul"},{AUGUST,"Aug"},{SEPTEMBER,"Sep"},{OCTOBER,"Oct"},{NOVEMBER,"Nov"},{DECEMBER,"Dec"}
4848
};
4949
// Map week days numbers with days short names (cookies likes it, still, short XD)
50-
static const std::map<int,std::string> weekdayNames = {
50+
static const std::map<unsigned int,std::string> weekdayNames = {
5151
{MONDAY,"Mon"}, {TUESDAY,"Tue"}, {WEDNESDAY,"Wed"}, {THURSDAY,"Thu"}, {FRIDAY,"Fri"}, {SATURDAY,"Sat"},
5252
{SUNDAY,"Sun"}
5353
};

0 commit comments

Comments
 (0)