Compare function pointers against 0 rather than nil.

This commit is contained in:
wkj 2004-07-09 01:54:06 +00:00
parent eac9e0183f
commit a87638642c
13 changed files with 15 additions and 15 deletions

View file

@ -66,7 +66,7 @@ mapfile(Fhdr *fp, ulong base, Map *map, Regs **regs)
werrstr("no map");
return -1;
}
if(fp->map == nil){
if(fp->map == 0){
werrstr("cannot load map for this file type");
return -1;
}