diff options
author | Jens Lorenz <jlorenz@de.adit-jv.com> | 2018-03-27 15:45:35 +0200 |
---|---|---|
committer | Jens Lorenz <jlorenz@de.adit-jv.com> | 2018-04-09 16:58:45 +0200 |
commit | 583713d6cefbb8f3486b98d41c481e8208e2db52 (patch) | |
tree | 83ce0283da4edc7022d488e28c6a5fc6a3ec7430 /AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.h | |
parent | 97737f9acc2c04ea6d81b8a9fcbcc0571b697483 (diff) | |
download | audiomanager-583713d6cefbb8f3486b98d41c481e8208e2db52.tar.gz |
AMUtil: Test: Fix mExpected value range for 32-bit
The duration calculation for mExpected is not working.
The playWithTimers oneshot test reported all times warnings.
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Diffstat (limited to 'AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.h')
-rw-r--r-- | AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.h b/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.h index ba2bf51..a274605 100644 --- a/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.h +++ b/AudioManagerUtilities/test/AmSocketHandlerTest/CAmSocketHandlerTest.h @@ -168,7 +168,7 @@ namespace am timespec mUpdateTimeout; std::chrono::time_point<std::chrono::high_resolution_clock> mUpdateTimePoint; std::chrono::time_point<std::chrono::high_resolution_clock> mLastInvocationTime; - std::chrono::duration<long, std::ratio<1l, 1000000000l>> mExpected; + std::chrono::duration<uint64_t, std::nano> mExpected; int32_t mRepeats; void * mpUserData; std::string mDebugText; |