some AIX fixes

X-Trac-URL: https://ssl.icu-project.org/trac/ticket/157



git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@257 0a8b766c-62c9-45f9-954d-7f2943c9ead0
This commit is contained in:
Steven R. Loomis 1999-11-24 19:35:20 +00:00
parent 78ce78a170
commit bbb2c4a293

View file

@ -812,7 +812,7 @@ getLibraryPath(char *path, int size) {
}
# elif defined(LINUX)
# elif defined(AIX)
void *handle=load(U_COMMON_LIBNAME, L_LIBPATH_EXEC, "."); /* "libicu-uc.a" */
void *handle=(void*)load(U_COMMON_LIBNAME, L_LIBPATH_EXEC, "."); /* "libicu-uc.a" */
if(handle!=NULL) {
uint8_t buffer[4096];
struct ld_info *p=NULL;
@ -845,7 +845,7 @@ getLibraryPath(char *path, int size) {
}
break;
}
p=p->l_next;
/* p=p->l_next; */
}
}
unload(handle);