From c7d765971913568a7d701bfb8a8444bc882ccbf1 Mon Sep 17 00:00:00 2001 From: Stefan Vacek Date: Wed, 26 Aug 2015 13:38:42 +0200 Subject: Cleanup master - remove compiler warnings - fix file permissions Signed-off-by: Stefan Vacek --- AUTHORS | 0 COPYING | 0 LICENSE | 0 ReleaseNotes.txt | 0 automotive-dlt.pc.in | 0 cmake/config.h.cmake | 0 cmake/dlt_version.h.cmake | 0 distfiles | 0 doc/doxygen.cfg.cmake | 0 doc/extended_network_trace_doxygen.cfg.cmake | 0 doc/images/dlt_architecture.png | Bin doc/images/dlt_message_flow.png | Bin doc/images/dlt_overview.png | Bin doc/images/eclipse-import-links.png | Bin doc/images/genivi_chrome_1_transparent.png | Bin examples/example1/CMakeLists.txt | 0 examples/example2/CMakeLists.txt | 0 examples/example3/CMakeLists.txt | 0 examples/example4/CMakeLists.txt | 0 include/CMakeLists.txt | 0 include/dlt/dlt.h | 0 include/dlt/dlt_client.h | 0 include/dlt/dlt_common.h | 0 include/dlt/dlt_protocol.h | 0 include/dlt/dlt_types.h | 0 src/adaptor/CMakeLists.txt | 0 src/adaptor/dlt-adaptor-stdin.c | 0 src/adaptor/dlt-adaptor-udp.c | 0 src/console/CMakeLists.txt | 0 src/console/dlt-control.c | 0 src/console/dlt-convert.c | 0 src/console/dlt-logstorage-ctrl.c | 2 +- src/console/dlt-receive.c | 0 src/console/filter.txt | 0 src/daemon/CMakeLists.txt | 0 src/daemon/dlt-daemon.h | 0 src/daemon/dlt-daemon_cfg.h | 0 src/daemon/dlt_daemon_common_cfg.h | 0 src/examples/CMakeLists.txt | 0 src/examples/dlt-example-non-verbose-1.xml | 0 src/examples/dlt-example-non-verbose.xml | 0 src/examples/dlt-example-user-func.c | 0 src/examples/dlt-example-user.c | 0 src/lib/dlt_client.c | 0 src/lib/dlt_client_cfg.h | 0 src/lib/dlt_user_cfg.h | 0 src/shared/dlt_common.c | 0 src/shared/dlt_common_cfg.h | 0 src/shared/dlt_user_shared.c | 0 src/shared/dlt_user_shared.h | 0 src/shared/dlt_user_shared_cfg.h | 0 src/tests/dlt-test-client.c | 0 src/tests/dlt-test-filetransfer-image.png | Bin src/tests/dlt-test-multi-process.c | 0 src/tests/dlt-test-stress.c | 0 src/tests/dlt-test-user.c | 0 systemd/dlt-dbus.service.cmake | 0 systemd/dlt-system.service.cmake | 0 systemd/dlt.service.cmake | 0 tests/gtest_dlt_common.cpp | 24 ++++++++-------- tests/gtest_dlt_daemon_common.cpp | 40 +++++++++++++-------------- tests/gtest_dlt_user.cpp | 4 +-- tests/testfile.dlt | Bin testscripts/CMakeLists.txt | 0 testscripts/Meego/dlt-daemon.cmake | 0 testscripts/Ubuntu/dlt-daemon.cmake | 0 66 files changed, 35 insertions(+), 35 deletions(-) mode change 100755 => 100644 AUTHORS mode change 100755 => 100644 COPYING mode change 100755 => 100644 LICENSE mode change 100755 => 100644 ReleaseNotes.txt mode change 100755 => 100644 automotive-dlt.pc.in mode change 100755 => 100644 cmake/config.h.cmake mode change 100755 => 100644 cmake/dlt_version.h.cmake mode change 100755 => 100644 distfiles mode change 100755 => 100644 doc/doxygen.cfg.cmake mode change 100755 => 100644 doc/extended_network_trace_doxygen.cfg.cmake mode change 100755 => 100644 doc/images/dlt_architecture.png mode change 100755 => 100644 doc/images/dlt_message_flow.png mode change 100755 => 100644 doc/images/dlt_overview.png mode change 100755 => 100644 doc/images/eclipse-import-links.png mode change 100755 => 100644 doc/images/genivi_chrome_1_transparent.png mode change 100755 => 100644 examples/example1/CMakeLists.txt mode change 100755 => 100644 examples/example2/CMakeLists.txt mode change 100755 => 100644 examples/example3/CMakeLists.txt mode change 100755 => 100644 examples/example4/CMakeLists.txt mode change 100755 => 100644 include/CMakeLists.txt mode change 100755 => 100644 include/dlt/dlt.h mode change 100755 => 100644 include/dlt/dlt_client.h mode change 100755 => 100644 include/dlt/dlt_common.h mode change 100755 => 100644 include/dlt/dlt_protocol.h mode change 100755 => 100644 include/dlt/dlt_types.h mode change 100755 => 100644 src/adaptor/CMakeLists.txt mode change 100755 => 100644 src/adaptor/dlt-adaptor-stdin.c mode change 100755 => 100644 src/adaptor/dlt-adaptor-udp.c mode change 100755 => 100644 src/console/CMakeLists.txt mode change 100755 => 100644 src/console/dlt-control.c mode change 100755 => 100644 src/console/dlt-convert.c mode change 100755 => 100644 src/console/dlt-receive.c mode change 100755 => 100644 src/console/filter.txt mode change 100755 => 100644 src/daemon/CMakeLists.txt mode change 100755 => 100644 src/daemon/dlt-daemon.h mode change 100755 => 100644 src/daemon/dlt-daemon_cfg.h mode change 100755 => 100644 src/daemon/dlt_daemon_common_cfg.h mode change 100755 => 100644 src/examples/CMakeLists.txt mode change 100755 => 100644 src/examples/dlt-example-non-verbose-1.xml mode change 100755 => 100644 src/examples/dlt-example-non-verbose.xml mode change 100755 => 100644 src/examples/dlt-example-user-func.c mode change 100755 => 100644 src/examples/dlt-example-user.c mode change 100755 => 100644 src/lib/dlt_client.c mode change 100755 => 100644 src/lib/dlt_client_cfg.h mode change 100755 => 100644 src/lib/dlt_user_cfg.h mode change 100755 => 100644 src/shared/dlt_common.c mode change 100755 => 100644 src/shared/dlt_common_cfg.h mode change 100755 => 100644 src/shared/dlt_user_shared.c mode change 100755 => 100644 src/shared/dlt_user_shared.h mode change 100755 => 100644 src/shared/dlt_user_shared_cfg.h mode change 100755 => 100644 src/tests/dlt-test-client.c mode change 100755 => 100644 src/tests/dlt-test-filetransfer-image.png mode change 100755 => 100644 src/tests/dlt-test-multi-process.c mode change 100755 => 100644 src/tests/dlt-test-stress.c mode change 100755 => 100644 src/tests/dlt-test-user.c mode change 100755 => 100644 systemd/dlt-dbus.service.cmake mode change 100755 => 100644 systemd/dlt-system.service.cmake mode change 100755 => 100644 systemd/dlt.service.cmake mode change 100755 => 100644 tests/testfile.dlt mode change 100755 => 100644 testscripts/CMakeLists.txt mode change 100755 => 100644 testscripts/Meego/dlt-daemon.cmake mode change 100755 => 100644 testscripts/Ubuntu/dlt-daemon.cmake diff --git a/AUTHORS b/AUTHORS old mode 100755 new mode 100644 diff --git a/COPYING b/COPYING old mode 100755 new mode 100644 diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt old mode 100755 new mode 100644 diff --git a/automotive-dlt.pc.in b/automotive-dlt.pc.in old mode 100755 new mode 100644 diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake old mode 100755 new mode 100644 diff --git a/cmake/dlt_version.h.cmake b/cmake/dlt_version.h.cmake old mode 100755 new mode 100644 diff --git a/distfiles b/distfiles old mode 100755 new mode 100644 diff --git a/doc/doxygen.cfg.cmake b/doc/doxygen.cfg.cmake old mode 100755 new mode 100644 diff --git a/doc/extended_network_trace_doxygen.cfg.cmake b/doc/extended_network_trace_doxygen.cfg.cmake old mode 100755 new mode 100644 diff --git a/doc/images/dlt_architecture.png b/doc/images/dlt_architecture.png old mode 100755 new mode 100644 diff --git a/doc/images/dlt_message_flow.png b/doc/images/dlt_message_flow.png old mode 100755 new mode 100644 diff --git a/doc/images/dlt_overview.png b/doc/images/dlt_overview.png old mode 100755 new mode 100644 diff --git a/doc/images/eclipse-import-links.png b/doc/images/eclipse-import-links.png old mode 100755 new mode 100644 diff --git a/doc/images/genivi_chrome_1_transparent.png b/doc/images/genivi_chrome_1_transparent.png old mode 100755 new mode 100644 diff --git a/examples/example1/CMakeLists.txt b/examples/example1/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/examples/example2/CMakeLists.txt b/examples/example2/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/examples/example3/CMakeLists.txt b/examples/example3/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/examples/example4/CMakeLists.txt b/examples/example4/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/include/dlt/dlt.h b/include/dlt/dlt.h old mode 100755 new mode 100644 diff --git a/include/dlt/dlt_client.h b/include/dlt/dlt_client.h old mode 100755 new mode 100644 diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h old mode 100755 new mode 100644 diff --git a/include/dlt/dlt_protocol.h b/include/dlt/dlt_protocol.h old mode 100755 new mode 100644 diff --git a/include/dlt/dlt_types.h b/include/dlt/dlt_types.h old mode 100755 new mode 100644 diff --git a/src/adaptor/CMakeLists.txt b/src/adaptor/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/src/adaptor/dlt-adaptor-stdin.c b/src/adaptor/dlt-adaptor-stdin.c old mode 100755 new mode 100644 diff --git a/src/adaptor/dlt-adaptor-udp.c b/src/adaptor/dlt-adaptor-udp.c old mode 100755 new mode 100644 diff --git a/src/console/CMakeLists.txt b/src/console/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/src/console/dlt-control.c b/src/console/dlt-control.c old mode 100755 new mode 100644 diff --git a/src/console/dlt-convert.c b/src/console/dlt-convert.c old mode 100755 new mode 100644 diff --git a/src/console/dlt-logstorage-ctrl.c b/src/console/dlt-logstorage-ctrl.c index 95162d2..4e34c6f 100644 --- a/src/console/dlt-logstorage-ctrl.c +++ b/src/console/dlt-logstorage-ctrl.c @@ -250,7 +250,7 @@ int dlt_logstorage_message_callback(DltMessage *message, void *data) char text[DLT_RECEIVE_TEXTBUFSIZE] = {0}; int ret = 0; - (void *)data; /* ignore data */ + (void)data; /* ignore data */ if (message == 0) { diff --git a/src/console/dlt-receive.c b/src/console/dlt-receive.c old mode 100755 new mode 100644 diff --git a/src/console/filter.txt b/src/console/filter.txt old mode 100755 new mode 100644 diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h old mode 100755 new mode 100644 diff --git a/src/daemon/dlt-daemon_cfg.h b/src/daemon/dlt-daemon_cfg.h old mode 100755 new mode 100644 diff --git a/src/daemon/dlt_daemon_common_cfg.h b/src/daemon/dlt_daemon_common_cfg.h old mode 100755 new mode 100644 diff --git a/src/examples/CMakeLists.txt b/src/examples/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/src/examples/dlt-example-non-verbose-1.xml b/src/examples/dlt-example-non-verbose-1.xml old mode 100755 new mode 100644 diff --git a/src/examples/dlt-example-non-verbose.xml b/src/examples/dlt-example-non-verbose.xml old mode 100755 new mode 100644 diff --git a/src/examples/dlt-example-user-func.c b/src/examples/dlt-example-user-func.c old mode 100755 new mode 100644 diff --git a/src/examples/dlt-example-user.c b/src/examples/dlt-example-user.c old mode 100755 new mode 100644 diff --git a/src/lib/dlt_client.c b/src/lib/dlt_client.c old mode 100755 new mode 100644 diff --git a/src/lib/dlt_client_cfg.h b/src/lib/dlt_client_cfg.h old mode 100755 new mode 100644 diff --git a/src/lib/dlt_user_cfg.h b/src/lib/dlt_user_cfg.h old mode 100755 new mode 100644 diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c old mode 100755 new mode 100644 diff --git a/src/shared/dlt_common_cfg.h b/src/shared/dlt_common_cfg.h old mode 100755 new mode 100644 diff --git a/src/shared/dlt_user_shared.c b/src/shared/dlt_user_shared.c old mode 100755 new mode 100644 diff --git a/src/shared/dlt_user_shared.h b/src/shared/dlt_user_shared.h old mode 100755 new mode 100644 diff --git a/src/shared/dlt_user_shared_cfg.h b/src/shared/dlt_user_shared_cfg.h old mode 100755 new mode 100644 diff --git a/src/tests/dlt-test-client.c b/src/tests/dlt-test-client.c old mode 100755 new mode 100644 diff --git a/src/tests/dlt-test-filetransfer-image.png b/src/tests/dlt-test-filetransfer-image.png old mode 100755 new mode 100644 diff --git a/src/tests/dlt-test-multi-process.c b/src/tests/dlt-test-multi-process.c old mode 100755 new mode 100644 diff --git a/src/tests/dlt-test-stress.c b/src/tests/dlt-test-stress.c old mode 100755 new mode 100644 diff --git a/src/tests/dlt-test-user.c b/src/tests/dlt-test-user.c old mode 100755 new mode 100644 diff --git a/systemd/dlt-dbus.service.cmake b/systemd/dlt-dbus.service.cmake old mode 100755 new mode 100644 diff --git a/systemd/dlt-system.service.cmake b/systemd/dlt-system.service.cmake old mode 100755 new mode 100644 diff --git a/systemd/dlt.service.cmake b/systemd/dlt.service.cmake old mode 100755 new mode 100644 diff --git a/tests/gtest_dlt_common.cpp b/tests/gtest_dlt_common.cpp index b4de20b..095f444 100644 --- a/tests/gtest_dlt_common.cpp +++ b/tests/gtest_dlt_common.cpp @@ -54,7 +54,7 @@ void dlt_buffer_info(DltBuffer *); } -/* Beginn Method: dlt_common::dlt_buffer_init_dynamic */ +/* Begin Method: dlt_common::dlt_buffer_init_dynamic */ TEST(t_dlt_buffer_init_dynamic, normal) { DltBuffer init_dynamic; @@ -118,7 +118,7 @@ TEST(t_dlt_buffer_init_dynamic, nullpointer) -/* Beginn Method: dlt_common::dlt_buffer_free_dynamic */ +/* Begin Method: dlt_common::dlt_buffer_free_dynamic */ TEST(t_dlt_buffer_free_dynamic, normal) { DltBuffer buf; @@ -154,7 +154,7 @@ TEST(t_dlt_buffer_free_dynamic, nullpointer) -/* Beginn Method: dlt_common::dlt_buffer_increase_size */ +/* Begin Method: dlt_common::dlt_buffer_increase_size */ TEST(t_dlt_buffer_increase_size, normal) { DltBuffer buf; @@ -204,7 +204,7 @@ TEST(t_dlt_buffer_increase_size, nullpointer) -/* Beginn Method: dlt_common::dlt_buffer_minimize_size */ +/* Begin Method: dlt_common::dlt_buffer_minimize_size */ TEST(t_dlt_buffer_minimize_size, normal) { DltBuffer buf; @@ -254,7 +254,7 @@ TEST(t_dlt_buffer_minimize_size, nullpointer) -/* Beginn Method: dlt_common::dlt_buffer_reset */ +/* Begin Method: dlt_common::dlt_buffer_reset */ TEST(t_dlt_buffer_reset, normal) { DltBuffer buf; @@ -281,7 +281,7 @@ TEST(t_dlt_buffer_reset, nullpointer) -/* Beginn Method: dlt_common::dlt_buffer_push*/ +/* Begin Method: dlt_common::dlt_buffer_push*/ TEST(t_dlt_buffer_push, normal) { DltBuffer buf; @@ -295,7 +295,7 @@ TEST(t_dlt_buffer_push, normal) // Push till buffer is full, expected 0 EXPECT_LE(0,dlt_buffer_init_dynamic(&buf, DLT_USER_RINGBUFFER_MIN_SIZE, DLT_USER_RINGBUFFER_MAX_SIZE, DLT_USER_RINGBUFFER_STEP_SIZE)); - for(int i=0; i<= (DLT_USER_RINGBUFFER_MIN_SIZE/size); i++) + for(unsigned int i=0; i<= (DLT_USER_RINGBUFFER_MIN_SIZE/size); i++) { EXPECT_LE(0, dlt_buffer_push(&buf,(unsigned char *)&test,size)); } @@ -343,7 +343,7 @@ TEST(t_dlt_buffer_push, abnormal) } TEST(t_dlt_buffer_push, nullpointer) { - DltBuffer buf; +// DltBuffer buf; char * test; int size = sizeof(test); @@ -587,7 +587,7 @@ TEST(t_dlt_buffer_push3, abnormal) } TEST(t_dlt_buffer_push3, nullpointer) { - DltBuffer buf; +// DltBuffer buf; char * test; int size = sizeof(test); @@ -1097,7 +1097,7 @@ TEST(t_dlt_buffer_get_used_size, nullpointer) TEST(t_dlt_buffer_write_block, normal) { DltBuffer buf; - unsigned char * data; + unsigned char * data = NULL; int write; int size1 = 516; int size2 = 1024; @@ -1169,7 +1169,7 @@ TEST(t_dlt_buffer_write_block, nullpointer) TEST(t_dlt_buffer_read_block, normal) { DltBuffer buf; - unsigned char * data; + unsigned char * data = NULL; int write, read; int size1 = 516; int size2 = 1024; @@ -3002,7 +3002,7 @@ TEST(t_dlt_message_read, normal) /*---------------------------------------*/ DltBuffer buf; - char *buffer; + char *buffer = NULL; EXPECT_LE(0, dlt_buffer_init_dynamic(&buf, DLT_USER_RINGBUFFER_MIN_SIZE, DLT_USER_RINGBUFFER_MAX_SIZE, DLT_USER_RINGBUFFER_STEP_SIZE)); EXPECT_LE(0, dlt_file_init(&file, 0)); diff --git a/tests/gtest_dlt_daemon_common.cpp b/tests/gtest_dlt_daemon_common.cpp index 915a860..8049965 100644 --- a/tests/gtest_dlt_daemon_common.cpp +++ b/tests/gtest_dlt_daemon_common.cpp @@ -155,7 +155,7 @@ TEST(t_dlt_daemon_application_del, normal) } TEST(t_dlt_daemon_application_del, abnormal) { - DltDaemon daemon; +// DltDaemon daemon; // const char * apid = "TEST"; // pid_t pid = 0; // const char * desc = "HELLO_TEST"; @@ -182,11 +182,11 @@ TEST(t_dlt_daemon_application_del, abnormal) TEST(t_dlt_daemon_application_del, nullpointer) { DltDaemon daemon; - DltDaemonApplication *app; + DltDaemonApplication app; // NULL-Pointer EXPECT_GE(-1, dlt_daemon_application_del(NULL,NULL, 0)); - EXPECT_GE(-1, dlt_daemon_application_del(NULL, app , 0)); + EXPECT_GE(-1, dlt_daemon_application_del(NULL, &app , 0)); EXPECT_GE(-1, dlt_daemon_application_del(&daemon,NULL, 0)); } /* End Method: dlt_daemon_common::dlt_daemon_application_del */ @@ -654,12 +654,12 @@ TEST(t_dlt_daemon_context_del, normal) } TEST(t_dlt_daemon_context_del, abnormal) { - DltDaemon daemon; - ID4 apid = "TES"; - ID4 ctid = "CON"; - char desc[255] = "TEST dlt_daemon_context_add"; - DltDaemonContext *daecontext; - DltDaemonApplication *app; +// DltDaemon daemon; +// ID4 apid = "TES"; +// ID4 ctid = "CON"; +// char desc[255] = "TEST dlt_daemon_context_add"; +// DltDaemonContext *daecontext; +// DltDaemonApplication *app; // Context uninitialized // EXPECT_EQ(0, dlt_daemon_init(&daemon, DLT_DAEMON_RINGBUFFER_MIN_SIZE, DLT_DAEMON_RINGBUFFER_MAX_SIZE, DLT_DAEMON_RINGBUFFER_STEP_SIZE, DLT_RUNTIME_DEFAULT_DIRECTORY,0)); @@ -691,11 +691,11 @@ TEST(t_dlt_daemon_context_del, abnormal) TEST(t_dlt_daemon_context_del, nullpointer) { DltDaemon daemon; - DltDaemonContext *daecontext; + DltDaemonContext daecontext; //NULL-Pointer EXPECT_GE(-1, dlt_daemon_context_del(NULL, NULL, 0)); - EXPECT_GE(-1, dlt_daemon_context_del(NULL, daecontext, 0)); + EXPECT_GE(-1, dlt_daemon_context_del(NULL, &daecontext, 0)); EXPECT_GE(-1, dlt_daemon_context_del(&daemon, NULL, 0)); } /* End Method: dlt_daemon_common::dlt_daemon_context_del */ @@ -1155,11 +1155,11 @@ TEST(t_dlt_daemon_user_send_log_level, abnormal) TEST(t_dlt_daemon_user_send_log_level, nullpointer) { DltDaemon daemon; - DltDaemonContext *daecontext; + DltDaemonContext daecontext; // NULL-Pointer EXPECT_GE(-1, dlt_daemon_user_send_log_level(NULL, NULL, 0)); - EXPECT_GE(-1, dlt_daemon_user_send_log_level(NULL, daecontext, 0)); + EXPECT_GE(-1, dlt_daemon_user_send_log_level(NULL, &daecontext, 0)); EXPECT_GE(-1, dlt_daemon_user_send_log_level(&daemon, NULL, 0)); } /* End Method: dlt_daemon_common::dlt_daemon_user_send_log_level */ @@ -1171,11 +1171,11 @@ TEST(t_dlt_daemon_user_send_log_level, nullpointer) TEST(t_dlt_daemon_user_send_log_state, normal) { DltDaemon daemon; - ID4 apid = "TES"; - ID4 ctid = "CON"; - char desc[255] = "TEST dlt_daemon_context_add"; - DltDaemonContext *daecontext; - DltDaemonApplication *app; +// ID4 apid = "TES"; +// ID4 ctid = "CON"; +// char desc[255] = "TEST dlt_daemon_context_add"; +// DltDaemonContext *daecontext; +// DltDaemonApplication *app; pid_t pid = 18166; char filename[DLT_DAEMON_COMMON_TEXTBUFSIZE+1]; snprintf(filename,DLT_DAEMON_COMMON_TEXTBUFSIZE,"%s/dlt%d",DLT_USER_DIR,pid); @@ -1241,10 +1241,10 @@ TEST(t_dlt_daemon_user_send_log_state, abnormal) TEST(t_dlt_daemon_user_send_log_state, nullpointer) { DltDaemon daemon; - DltDaemonApplication *app; + DltDaemonApplication app; EXPECT_GE(0, dlt_daemon_user_send_log_state(NULL, NULL, 0)); - EXPECT_GE(0, dlt_daemon_user_send_log_state(NULL, app, 0)); + EXPECT_GE(0, dlt_daemon_user_send_log_state(NULL, &app, 0)); EXPECT_GE(0, dlt_daemon_user_send_log_state(&daemon, NULL, 0)); } /* End Method: dlt_daemon_common::dlt_daemon_user_send_log_state */ diff --git a/tests/gtest_dlt_user.cpp b/tests/gtest_dlt_user.cpp index a64541c..e58a648 100644 --- a/tests/gtest_dlt_user.cpp +++ b/tests/gtest_dlt_user.cpp @@ -141,7 +141,7 @@ int dlt_nonverbose_mode(void); #endif #ifndef UINT64_MAX -#define UINT64_MAX 18446744073709551615 +#define UINT64_MAX 18446744073709551615UL #endif #ifndef INT8_MIN @@ -157,7 +157,7 @@ int dlt_nonverbose_mode(void); #endif #ifndef INT64_MIN -#define INT64_MIN -9223372036854775808 +#define INT64_MIN -9223372036854775807 #endif #ifndef INT8_MAX diff --git a/tests/testfile.dlt b/tests/testfile.dlt old mode 100755 new mode 100644 diff --git a/testscripts/CMakeLists.txt b/testscripts/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/testscripts/Meego/dlt-daemon.cmake b/testscripts/Meego/dlt-daemon.cmake old mode 100755 new mode 100644 diff --git a/testscripts/Ubuntu/dlt-daemon.cmake b/testscripts/Ubuntu/dlt-daemon.cmake old mode 100755 new mode 100644 -- cgit v1.2.1