diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-06-23 00:16:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-06-23 00:16:42 +0200 |
commit | 9217b47b1920c0c88be6d1817f0479074b6328b8 (patch) | |
tree | e6d1cf683dfbff0c180ac5c29a3e8c2cf9a39f7a | |
parent | f3bbbd0fd377e856a27a2ed4f57ac042d620662f (diff) |
timeval: don't create the wrong illusion that nsecs should be stored in pa_usec_t
-rw-r--r-- | src/pulse/timeval.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pulse/timeval.h b/src/pulse/timeval.h index 6307735c9..48c6cdb36 100644 --- a/src/pulse/timeval.h +++ b/src/pulse/timeval.h @@ -40,16 +40,16 @@ PA_C_DECL_BEGIN #define PA_USEC_PER_SEC ((pa_usec_t) 1000000ULL) /** The number of nanoseconds in a second */ -#define PA_NSEC_PER_SEC ((pa_usec_t) 1000000000ULL) +#define PA_NSEC_PER_SEC ((unsigned long long) 1000000000ULL) /** The number of microseconds in a millisecond */ #define PA_USEC_PER_MSEC ((pa_usec_t) 1000ULL) /** The number of nanoseconds in a millisecond */ -#define PA_NSEC_PER_MSEC ((pa_usec_t) 1000000ULL) +#define PA_NSEC_PER_MSEC ((unsigned long long) 1000000ULL) /** The number of nanoseconds in a microsecond */ -#define PA_NSEC_PER_USEC ((pa_usec_t) 1000ULL) +#define PA_NSEC_PER_USEC ((unsigned long long) 1000ULL) /** Invalid time in usec */ #define PA_USEC_INVALID ((pa_usec_t) -1) |