Im getting an error when compiling that says "assignments makes integer from pointer without a cast". For all three assignment statements.
current_dayCode:if (res == 0){ day = current_day; mon = current_month; year = current_year;
Current_month and
current_year are all in another file, that i have #included.