revise ambiguous sizeof
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 14 Sep 2021 07:31:31 +0000 (16:31 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Wed, 15 Sep 2021 00:31:23 +0000 (09:31 +0900)
Change-Id: I2cd5a04042657b4a55c313109030fc9e0e0d1edf

subprojects/libbeyond/src/inference_impl_event_object.cc

index fb663408f26136d58577cc0bf1e9fb57f30c1a65..e6c80858e8e9dddd4d28f948cb6471128d605932 100644 (file)
@@ -104,7 +104,7 @@ int Inference::impl::remote::EventObject::FetchEventData(EventObjectInterface::E
 
 int Inference::impl::remote::EventObject::PublishEventData(EventObjectInterface::EventData *evtData)
 {
-    if (write(publishHandle, &evtData, sizeof(evtData)) < 0) {
+    if (write(publishHandle, &evtData, sizeof(EventObjectInterface::EventData *)) < 0) {
         int ret = -errno;
         ErrPrintCode(errno, "write");
         return ret;