diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-02-07 09:53:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-02-07 09:53:43 +0000 |
commit | 95f9ec1e341990d719be89ed7c8013bcf4271d9a (patch) | |
tree | 3741be1b1f1b92cb322a717a86383e5f9b1c11ba /ldso | |
parent | 36bf87bc726d741b512748a449ae6a48bcaac398 (diff) |
Use unsigned char * pointers
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/dl-elf.c | 2 | ||||
-rw-r--r-- | ldso/ldso/ldso.c | 2 | ||||
-rw-r--r-- | ldso/ldso/readelflib1.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c index 787dc3f65..6acf136c9 100644 --- a/ldso/ldso/dl-elf.c +++ b/ldso/ldso/dl-elf.c @@ -859,7 +859,7 @@ void *_dl_malloc(int size) * Align memory to 4 byte boundary. Some platforms require this, others * simply get better performance. */ - _dl_malloc_addr = (char *) (((unsigned long) _dl_malloc_addr + 3) & ~(3)); + _dl_malloc_addr = (unsigned char *) (((unsigned long) _dl_malloc_addr + 3) & ~(3)); return retval; } diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index a95b39230..287f96332 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -138,7 +138,7 @@ int _dl_debug_file = 2; #else #define _dl_debug_file 2 #endif -static char *_dl_malloc_addr, *_dl_mmap_zero; +static unsigned char *_dl_malloc_addr, *_dl_mmap_zero; static char *_dl_trace_loaded_objects = 0; static int (*_dl_elf_main) (int, char **, char **); diff --git a/ldso/ldso/readelflib1.c b/ldso/ldso/readelflib1.c index 787dc3f65..6acf136c9 100644 --- a/ldso/ldso/readelflib1.c +++ b/ldso/ldso/readelflib1.c @@ -859,7 +859,7 @@ void *_dl_malloc(int size) * Align memory to 4 byte boundary. Some platforms require this, others * simply get better performance. */ - _dl_malloc_addr = (char *) (((unsigned long) _dl_malloc_addr + 3) & ~(3)); + _dl_malloc_addr = (unsigned char *) (((unsigned long) _dl_malloc_addr + 3) & ~(3)); return retval; } |