aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-01 14:33:19 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-31 12:20:59 +0100
commit3be9c7ae3c22f3e91c4e54b57a07b722dd4fb73f (patch)
treeeddb7ce6bc9123b5d2d5a0a9c54669d9a7247184
parent4f0a47d0e35ece9ca46bb62294357d89920d06aa (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