From 6a0566d22b7e7a502f2583ed8b0d7d6399b1202e Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 4 Apr 2015 16:36:11 +0700 Subject: Bug fix for big-endiang architectures (plus adding -lm in Makefile). --- src/opt/ret/retIncrem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/opt') diff --git a/src/opt/ret/retIncrem.c b/src/opt/ret/retIncrem.c index 0a44276d..9137f151 100644 --- a/src/opt/ret/retIncrem.c +++ b/src/opt/ret/retIncrem.c @@ -176,7 +176,7 @@ int Abc_NtkRetimeFinalizeLatches( Abc_Ntk_t * pNtk, st__table * tLatches, int nI { // this is an old latch // get its number in the original order - if ( ! st__lookup( tLatches, (char *)pLatch, (char **)&Index ) ) + if ( ! st__lookup_int( tLatches, (char *)pLatch, &Index ) ) { printf( "Abc_NtkRetimeFinalizeLatches(): Internal error.\n" ); return 0; -- cgit v1.2.3