tdm-output: type casting 27/262527/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 13 Aug 2021 00:20:08 +0000 (09:20 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 13 Aug 2021 00:20:08 +0000 (09:20 +0900)
Change-Id: I897a8c2698a01e1090f27095a2d3b224f3c9b6c1

src/lib/tdm/tdm-output.c

index f0371de3c73e8a98629692978b456678900cf5c7..013bb1b24a840aae7113ba1ffb9389e3d0c72020 100644 (file)
@@ -348,8 +348,8 @@ __tdm_output_commit_cb(tdm_output *o, unsigned int sequence,
                output->back = NULL;
        }
 
-       ts.tv_sec = tv_sec;
-       ts.tv_nsec = tv_usec * 1000;
+       ts.tv_sec = (long)tv_sec;
+       ts.tv_nsec = (long)tv_usec * 1000;
        pepper_output_finish_frame(output->base, &ts);
 }