mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +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.
|
* samba/param/loadparm.c: Fixed warnings reported by gcc-2.95.
|
||||||
* dirent.c (split_dir_name): Don't assign a string literal to a
|
* dirent.c (split_dir_name): Don't assign a string literal to a
|
||||||
char *. Use '\0' instead of 0 when operating on characters.
|
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>
|
2005-05-20 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
@ -39,8 +39,8 @@ static void initmaps(void) {
|
|||||||
mapsinited = True;
|
mapsinited = True;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void update_map(char * str) {
|
static void update_map(const char * str) {
|
||||||
char *p;
|
const char *p;
|
||||||
|
|
||||||
for (p = str; *p; p++) {
|
for (p = str; *p; p++) {
|
||||||
if (p[1]) {
|
if (p[1]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user