diff options
author | Russ Cox <rsc@swtch.com> | 2012-10-21 11:25:08 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-10-21 11:25:08 -0400 |
commit | 0cfb376070a4bef7b4168a9795e025437e1be79f (patch) | |
tree | 9cea2b3befd9183d11ccc0745a81658d5956e4d7 /src/libmach | |
parent | 34d629c8572518afe0a1d5698d7b184938e35a8f (diff) | |
download | plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.tar.gz plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.tar.bz2 plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.zip |
fix clang warnings reported by Tuncer Ayaz
R=rsc
http://codereview.appspot.com/6744054
Diffstat (limited to 'src/libmach')
-rw-r--r-- | src/libmach/symstabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/symstabs.c b/src/libmach/symstabs.c index a8c2af71..77c6bab7 100644 --- a/src/libmach/symstabs.c +++ b/src/libmach/symstabs.c @@ -230,7 +230,7 @@ stabssyminit(Fhdr *fp) fun->u.stabs.framesize = sym.value - 4; } }else if(sym.type == N_LSYM){ - if(sym.value >= 0){ + if((int32)sym.value >= 0){ fun->u.stabs.frameptr = 0; if(params) fun->u.stabs.framesize = 8 - 4; |