summaryrefslogtreecommitdiff
path: root/src/libmach/obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmach/obj.c')
-rw-r--r--src/libmach/obj.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmach/obj.c b/src/libmach/obj.c
index 2a5e04758..729a3eab8 100644
--- a/src/libmach/obj.c
+++ b/src/libmach/obj.c
@@ -132,16 +132,16 @@ objtype(Biobuf *bp, char **name)
* Found one. Skip until "\n!\n"
*/
for(;;) {
- if((c = Bgetc(bp)) == Beof)
+ if((c = BGETC(bp)) == Beof)
return -1;
if(c != '\n')
continue;
- c = Bgetc(bp);
+ c = BGETC(bp);
if(c != '!'){
Bungetc(bp);
continue;
}
- c = Bgetc(bp);
+ c = BGETC(bp);
if(c != '\n'){
Bungetc(bp);
continue;
@@ -244,7 +244,7 @@ processprog(Prog *p, int doautos)
static void
objlookup(int id, char *name, int type, uint sig)
{
- int32 h;
+ uint32 h;
char *cp;
Sym *s;
Symtab *sp;