summaryrefslogtreecommitdiffstats
path: root/src/net/ipv4.c
diff options
context:
space:
mode:
authorMichael Brown2008-11-18 02:52:40 +0100
committerMichael Brown2008-11-18 02:52:40 +0100
commit54fbd11221e69eb2c840517b1fb7c1613930f899 (patch)
tree5a0d72d4c4af5a393109b2832037272173544221 /src/net/ipv4.c
parent[linda] Add missing copyright notices (diff)
downloadipxe-54fbd11221e69eb2c840517b1fb7c1613930f899.tar.gz
ipxe-54fbd11221e69eb2c840517b1fb7c1613930f899.tar.xz
ipxe-54fbd11221e69eb2c840517b1fb7c1613930f899.zip
[build] Keep gcc 4.4 happy
gcc 4.4 adds another few warnings, and also seems to complain if we place %ebp in the clobber list for any inline asm.
Diffstat (limited to 'src/net/ipv4.c')
-rw-r--r--src/net/ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ipv4.c b/src/net/ipv4.c
index e14ed6a7..63dcca28 100644
--- a/src/net/ipv4.c
+++ b/src/net/ipv4.c
@@ -188,7 +188,7 @@ static struct io_buffer * ipv4_reassemble ( struct io_buffer * iobuf ) {
free_iob ( iobuf );
/** Check if the fragment series is over */
- if ( !iphdr->frags & IP_MASK_MOREFRAGS ) {
+ if ( ! ( iphdr->frags & IP_MASK_MOREFRAGS ) ) {
iobuf = fragbuf->frag_iob;
free_fragbuf ( fragbuf );
return iobuf;