diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-04-05 21:50:29 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-04-05 21:50:29 +0200 |
commit | b4ee23b7445a74c06dd5a2368f78250f5ca57548 (patch) | |
tree | bfa1b9d3ce69aaeaccc83603b64bd7bcad6eeba4 /xen | |
parent | 03b05ed702de248d308bb42348754ad19643d502 (diff) | |
download | gnumach-b4ee23b7445a74c06dd5a2368f78250f5ca57548.tar.gz gnumach-b4ee23b7445a74c06dd5a2368f78250f5ca57548.tar.bz2 gnumach-b4ee23b7445a74c06dd5a2368f78250f5ca57548.zip |
Fix warning
* xen/net.c (hyp_net_intr): Cast WINDOW to long.
Diffstat (limited to 'xen')
-rw-r--r-- | xen/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ static void hyp_net_intr(int unit) { simple_lock(&nd->lock); if ((nd->rx.sring->rsp_prod - nd->rx.rsp_cons) >= (WINDOW*3)/4) - printf("window %ld a bit small!\n", WINDOW); + printf("window %ld a bit small!\n", (long) WINDOW); more = RING_HAS_UNCONSUMED_RESPONSES(&nd->rx); while (more) { |