aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-01 14:33:19 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-09-04 04:37:21 +0700
commit0d97f46b8757e0947304d88777706bd9a98a4c69 (patch)
tree5460cc7c1b63e15f72f21d808645bf959af5c46d
parent6683ef0a17dda6eb50aaeede8805936c751ec4a5 (diff)
procqueue: use unsigned int for I/O frame size fields
A frame size cannot be negative, so 'unsigned' is more suitable for frame size fields.
-rw-r--r--include/osmocom/gapk/procqueue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/gapk/procqueue.h b/include/osmocom/gapk/procqueue.h
index 50e6eb6..b4aa857 100644
--- a/include/osmocom/gapk/procqueue.h
+++ b/include/osmocom/gapk/procqueue.h
@@ -24,9 +24,9 @@
struct osmo_gapk_pq_item {
/*! input frame size (in bytes). '0' in case of variable frames */
- int len_in;
+ unsigned int len_in;
/*! output frame size (in bytes). '0' in case of variable frames */
- int len_out;
+ unsigned int len_out;
/*! opaque state */
void *state;
/*! call-back for actual format conversion function