File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 15
15
#include <GLES2/gl2ext.h>
16
16
#include <GLES2/gl2platform.h>
17
17
#include <systemd/sd-bus.h>
18
+ #include <inttypes.h>
18
19
19
20
#include <flutter-pi.h>
20
21
#include <platformchannel.h>
@@ -406,7 +407,7 @@ static void *mgr_entry(void *userdata) {
406
407
snprintf (
407
408
dbus_name ,
408
409
sizeof (dbus_name ),
409
- "org.mpris.MediaPlayer2.omxplayer_%d_%lld" ,
410
+ "org.mpris.MediaPlayer2.omxplayer_%d_%" PRId64 ,
410
411
(int ) getpid (),
411
412
mgr -> player -> player_id
412
413
);
@@ -1108,7 +1109,7 @@ static int on_create(
1108
1109
snprintf (
1109
1110
player -> event_channel_name ,
1110
1111
sizeof (player -> event_channel_name ),
1111
- "flutter.io/omxplayerVideoPlayer/videoEvents%lld" ,
1112
+ "flutter.io/omxplayerVideoPlayer/videoEvents%" PRId64 ,
1112
1113
player -> player_id
1113
1114
);
1114
1115
@@ -1392,7 +1393,7 @@ static int on_dispose_platform_view(
1392
1393
if (ok != 0 ) {
1393
1394
fprintf (
1394
1395
stderr ,
1395
- "[omxplayer_video_player plugin] Could not remove view callbacks for platform view %lld . compositor_remove_view_callbacks: %s\n" ,
1396
+ "[omxplayer_video_player plugin] Could not remove view callbacks for platform view %" PRId64 " . compositor_remove_view_callbacks: %s\n" ,
1396
1397
view_id ,
1397
1398
strerror (ok )
1398
1399
);
You can’t perform that action at this time.
0 commit comments