mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
sample: use libc ptrdiff_t instead of posix off_t
This commit is contained in:
parent
b18c776a5c
commit
935ee584e4
1 changed files with 2 additions and 2 deletions
|
@ -29,11 +29,11 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Forward declarations */
|
||||
struct pool;
|
||||
|
@ -81,7 +81,7 @@ struct sample {
|
|||
struct node *source; /**< The node from which this sample originates. */
|
||||
|
||||
atomic_int refcnt; /**< Reference counter. */
|
||||
off_t pool_off; /**< This sample belongs to this memory pool (relative pointer). See sample_pool(). */
|
||||
ptrdiff_t pool_off; /**< This sample belongs to this memory pool (relative pointer). See sample_pool(). */
|
||||
|
||||
/** A long bitfield indicating the number representation of the first 64 values in sample::data[].
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue