diff options
author | bde <bde@FreeBSD.org> | 1999-08-24 00:38:52 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-08-24 00:38:52 +0000 |
commit | b01c8d2acc506c4737e1d158573e68ce3baa29aa (patch) | |
tree | 9d2e6e1ca9a3c02ecba092b446311be56c01f7a7 /sys/kern/link_elf.c | |
parent | 50fccdce5e1c4fc0fbe5b921d8d1fc2823474a7b (diff) | |
download | FreeBSD-src-b01c8d2acc506c4737e1d158573e68ce3baa29aa.zip FreeBSD-src-b01c8d2acc506c4737e1d158573e68ce3baa29aa.tar.gz |
Cast pointers to uintptr_t instead of casting them to u_long. They
are still converted to u_long by assignment of the uintptr_t, and
address calculations are still done using u_long. This is OK for
currently supported machines, but addresses should be represented
by vm_offset_t or uintptr_t in case pointers are longer than longs.
"Fixed" size of linker_path[]. MAXPATHLEN + 1 was 1 too large for
search paths with only one file path in them, but much too small
for search paths with several long file paths in them.
Diffstat (limited to 'sys/kern/link_elf.c')
0 files changed, 0 insertions, 0 deletions