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:
parent
fb8b3c54fe
commit
b0bb93ab81
1 changed files with 2 additions and 2 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue