lecroy-xstream: Fix potential issue by adding UINT64_C.

This commit is contained in:
Uwe Hermann 2018-02-20 20:00:10 +01:00
parent d9b716fc5f
commit 3f4c1174b6
1 changed files with 5 additions and 5 deletions

View File

@ -92,11 +92,11 @@ static const char *trigger_sources[] = {
static const uint64_t timebases[][2] = {
/* picoseconds */
{ 20, 1000000000000 },
{ 50, 1000000000000 },
{ 100, 1000000000000 },
{ 200, 1000000000000 },
{ 500, 1000000000000 },
{ 20, UINT64_C(1000000000000) },
{ 50, UINT64_C(1000000000000) },
{ 100, UINT64_C(1000000000000) },
{ 200, UINT64_C(1000000000000) },
{ 500, UINT64_C(1000000000000) },
/* nanoseconds */
{ 1, 1000000000 },
{ 2, 1000000000 },