mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* samba/lib/charcnv.c: Added const qualifiers.
This commit is contained in:
parent
a2511b792c
commit
ba0cd89c75
@ -3,6 +3,7 @@
|
||||
* samba/param/loadparm.c: Fixed warnings reported by gcc-2.95.
|
||||
* dirent.c (split_dir_name): Don't assign a string literal to a
|
||||
char *. Use '\0' instead of 0 when operating on characters.
|
||||
* samba/lib/charcnv.c: Added const qualifiers.
|
||||
|
||||
2005-05-20 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
|
@ -39,8 +39,8 @@ static void initmaps(void) {
|
||||
mapsinited = True;
|
||||
}
|
||||
|
||||
static void update_map(char * str) {
|
||||
char *p;
|
||||
static void update_map(const char * str) {
|
||||
const char *p;
|
||||
|
||||
for (p = str; *p; p++) {
|
||||
if (p[1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user