diff options
Diffstat (limited to 'f54test')
-rw-r--r-- | f54test/Makefile | 1 | ||||
-rw-r--r-- | f54test/f54test.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/f54test/Makefile b/f54test/Makefile index e0f1b64..272646c 100644 --- a/f54test/Makefile +++ b/f54test/Makefile @@ -1,5 +1,6 @@ CXX ?= g++ CPPFLAGS += -I../include -I./include -I../rmidevice +CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE CXXFLAGS += -Wall LDFLAGS += -L. LIBS = -lrmidevice -lrt diff --git a/f54test/f54test.cpp b/f54test/f54test.cpp index 4b4f6b1..c6b351e 100644 --- a/f54test/f54test.cpp +++ b/f54test/f54test.cpp @@ -695,7 +695,7 @@ int F54Test::ReadF54Queries() sizeof(m_f54Query_61.data)); if (retval < 0) return retval; - offset += 1; + offset += 1; } /* query 62 63 */ |