aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-08-23 12:27:10 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-24 12:59:15 +1000
commitc426e9f608f22e3f6daa98d7c15f606e201f70e7 (patch)
tree0057fc8c2a34f9db0d74340d4be1e2a610c6f5cf /libc
parent349ea5b06104a6d23c9533387bfd5f245397911f (diff)
downloadskiboot-c426e9f608f22e3f6daa98d7c15f606e201f70e7.zip
skiboot-c426e9f608f22e3f6daa98d7c15f606e201f70e7.tar.gz
skiboot-c426e9f608f22e3f6daa98d7c15f606e201f70e7.tar.bz2
libc/time.c: days_in_month() use char rather than int
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/time.c b/libc/time.c
index 3411bdc..6a51086 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,
};