[Skiboot] [PATCH 08/13] libc/time.c: days_in_month() use char rather than int
Stewart Smith
stewart at linux.vnet.ibm.com
Wed Aug 23 17:21:18 AEST 2017
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
libc/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libc/time.c b/libc/time.c
index 3411bdc0b580..6a5108691af1 100644
--- a/libc/time.c
+++ b/libc/time.c
@@ -16,7 +16,7 @@ static int is_leap_year(int year)
static int days_in_month(int month, int year)
{
- static int month_days[] = {
+ static char month_days[] = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31,
};
--
2.13.5
More information about the Skiboot
mailing list