X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=src%2Fcommon%2Fsrc%2Fsymtab.c;fp=src%2Fcommon%2Fsrc%2Fsymtab.c;h=e96af03ade4f30bb1408be31852a7f9a2fe77828;hb=a012cf63dfdad3656c995cb06c316fd208c63b98;hp=31f150f5609fa8beaa1e2a0a77cfe800148d74e6;hpb=7958ddfd7e5bc9278bcba939b55b5b90e83529c2;p=ric-plt%2Flib%2Frmr.git diff --git a/src/common/src/symtab.c b/src/common/src/symtab.c index 31f150f..e96af03 100644 --- a/src/common/src/symtab.c +++ b/src/common/src/symtab.c @@ -297,7 +297,7 @@ extern void rmr_sym_del( void *vtable, const char *name, unsigned int class ) hv = sym_hash( name, table->size ); for(eptr=sym_tab[hv]; eptr && ! same(class, eptr->class, eptr->name, name); eptr=eptr->next ); } else { - nkey = *((int *) name); + nkey = *((uint64_t *) name); hv = nkey % table->size; // just hash the number for( eptr=sym_tab[hv]; eptr && eptr->nkey != nkey; eptr=eptr->next ); }