git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
app/pdump: fix type casting of ring size
[dpdk.git]
/
app
/
pdump
/
main.c
diff --git
a/app/pdump/main.c
b/app/pdump/main.c
index
fe4d38a
..
2087c15
100644
(file)
--- a/
app/pdump/main.c
+++ b/
app/pdump/main.c
@@
-362,7
+362,7
@@
parse_pdump(const char *optarg)
&parse_uint_value, &v);
if (ret < 0)
goto free_kvlist;
- pt->ring_size = (uint
16
_t) v.val;
+ pt->ring_size = (uint
32
_t) v.val;
} else
pt->ring_size = RING_SIZE;