summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitreview2
-rw-r--r--low-can-binding/binding/low-can-cb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitreview b/.gitreview
index 3d19b7e8..31c5b8df 100644
--- a/.gitreview
+++ b/.gitreview
@@ -1,6 +1,6 @@
[gerrit]
host=gerrit.automotivelinux.org
port=29418
-project=apps/low-level-can-service
+project=apps/agl-service-can-low-level
defaultbranch=master
diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp
index c81cb9a2..0f97404c 100644
--- a/low-can-binding/binding/low-can-cb.cpp
+++ b/low-can-binding/binding/low-can-cb.cpp
@@ -429,7 +429,7 @@ static int write_raw_frame(const std::string& bus_name, uint32_t can_id, uint8_t
cf.can_dlc = can_dlc;
struct json_object *x;
- int n = json_object_array_length(can_data);
+ size_t n = json_object_array_length(can_data);
if(n <= 8)
{
for (int i = 0 ; i < n ; i++)