1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

sample: make length and capacity fields unsigned

This commit is contained in:
Steffen Vogel 2019-03-26 07:11:45 +01:00
parent fb8b3c54fe
commit b0bb93ab81

View file

@ -65,8 +65,8 @@ enum sample_flags {
struct sample {
uint64_t sequence; /**< The sequence number of this sample. */
int length; /**< The number of values in sample::values which are valid. */
int capacity; /**< The number of values in sample::values for which memory is reserved. */
unsigned length; /**< The number of values in sample::values which are valid. */
unsigned capacity; /**< The number of values in sample::values for which memory is reserved. */
int flags; /**< Flags are used to store binary properties of a sample. */
struct vlist *signals; /**< The list of signal descriptors. */