X-Git-Url: https://git.jankratochvil.net/?p=timeplan.git;a=blobdiff_plain;f=timeplan.c;h=e48910c14446a7c81846ddaee34cb3c22e70678e;hp=f8fd739a7e7630cea3d49a7aa455ee622dac5440;hb=1b355f73a1315b7858a13058a01bbb397da53029;hpb=e1a7415edb3f81591dce1045b0112d45fc36c05e diff --git a/timeplan.c b/timeplan.c index f8fd739..e48910c 100644 --- a/timeplan.c +++ b/timeplan.c @@ -183,7 +183,7 @@ static unsigned calchash(const char *s) { unsigned r=57; - while (*s) r=r*7+11*(*s++); + while (*s) r=r*7+11*toupper(*s++); return r; }