mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
SOLARIS: Cast modlookup result
modlookup returns a uintptr_t, not an actual pointer. Cast the result to a pointer to avoid a compiler warning. Change-Id: I33cf4600d21a713be3f90c1b6d626bdab2c3da28 Reviewed-on: https://gerrit.openafs.org/12705 Reviewed-by: Michael Meffie <mmeffie@sinenomine.net> Reviewed-by: Marcio Brito Barbosa <marciobritobarbosa@yahoo.com> Reviewed-by: Mark Vitale <mvitale@sinenomine.net> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Andrew Deason <adeason@sinenomine.net>
This commit is contained in:
parent
ed50afe5fc
commit
938f18acca
@ -374,7 +374,7 @@ do_mod_lookup(const char * mod, const char * sym)
|
||||
{
|
||||
void * ptr;
|
||||
|
||||
ptr = modlookup(mod, sym);
|
||||
ptr = (void*)modlookup(mod, sym);
|
||||
if (ptr == NULL) {
|
||||
afs_warn("modlookup failed for symbol '%s' in module '%s'\n",
|
||||
sym, mod);
|
||||
|
Loading…
Reference in New Issue
Block a user