Fixed a typo in an if statement -- gcc caught it ('=' vs. '==').
This commit is contained in:
parent
77c9b2c3e2
commit
2c89ba265c
1 changed files with 2 additions and 3 deletions
|
@ -49,7 +49,7 @@ nltype indirectchild = {
|
|||
|
||||
int
|
||||
iscall (unsigned char *ip) {
|
||||
if (*ip == 0xeb || *ip = 0x9a)
|
||||
if (*ip == 0xeb || *ip == 0x9a)
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
@ -95,8 +95,7 @@ findcall( parentp , p_lowpc , p_highpc )
|
|||
* check that this is the address of
|
||||
* a function.
|
||||
*/
|
||||
destpc = ( (unsigned long)instructp + 5
|
||||
- (unsigned long) textspace;
|
||||
destpc = ( (unsigned long)instructp + 5 - (unsigned long) textspace);
|
||||
if ( destpc >= s_lowpc && destpc <= s_highpc ) {
|
||||
childp = nllookup( destpc );
|
||||
# ifdef DEBUG
|
||||
|
|
Loading…
Reference in a new issue