Skip to content

Commit

Permalink
Fixed warning due to possible incompatible types
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephP91 committed Oct 22, 2022
1 parent 8b4bbdf commit 1975b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cookie_date.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ namespace curl {
// Leave this alone :)
namespace details {
// Map months numbers with months short names (cookies likes it short XD)
static const std::map<int,std::string> monthsNames = {
static const std::map<unsigned int,std::string> monthsNames = {
{JANUARY,"Jan"}, {FEBRUARY,"Feb"}, {MARCH,"Mar"}, {APRIL,"Apr"}, {MAY,"May"}, {JUNE,"Jun"},
{JULY,"Jul"},{AUGUST,"Aug"},{SEPTEMBER,"Sep"},{OCTOBER,"Oct"},{NOVEMBER,"Nov"},{DECEMBER,"Dec"}
};
// Map week days numbers with days short names (cookies likes it, still, short XD)
static const std::map<int,std::string> weekdayNames = {
static const std::map<unsigned int,std::string> weekdayNames = {
{MONDAY,"Mon"}, {TUESDAY,"Tue"}, {WEDNESDAY,"Wed"}, {THURSDAY,"Thu"}, {FRIDAY,"Fri"}, {SATURDAY,"Sat"},
{SUNDAY,"Sun"}
};
Expand Down

0 comments on commit 1975b60

Please sign in to comment.