wok-6.x annotate urxvt/stuff/gcc.u @ rev 18140
syslinux/taziso: add floppyset
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 15 16:28:54 2015 +0200 (2015-06-15) |
parents | |
children |
rev | line source |
---|---|
pascal@4263 | 1 --- src/command.C |
pascal@4263 | 2 +++ src/command.C |
pascal@4263 | 3 @@ -3336,7 +3336,7 @@ |
pascal@4263 | 4 } |
pascal@4263 | 5 else |
pascal@4263 | 6 { |
pascal@4263 | 7 - char *eq = strchr (str, '='); // constness lost, but verified to be ok |
pascal@4263 | 8 + char *eq = strchr ((char *)str, '='); |
pascal@4263 | 9 |
pascal@4263 | 10 if (eq) |
pascal@4263 | 11 { |
pascal@4263 | 12 |
pascal@4263 | 13 --- src/misc.C |
pascal@4263 | 14 +++ src/misc.C |
pascal@4263 | 15 @@ -170,7 +170,7 @@ |
pascal@4263 | 16 char * |
pascal@4263 | 17 rxvt_basename (const char *str) NOTHROW |
pascal@4263 | 18 { |
pascal@4263 | 19 - char *base = strrchr (str, '/'); |
pascal@4263 | 20 + char *base = strrchr ((char *)str, '/'); |
pascal@4263 | 21 |
pascal@4263 | 22 return (char *) (base ? base + 1 : str); |
pascal@4263 | 23 } |