summaryrefslogtreecommitdiff
path: root/src/media_controller_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/media_controller_client.c')
-rwxr-xr-xsrc/media_controller_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media_controller_client.c b/src/media_controller_client.c
index 5959506..4f9dced 100755
--- a/src/media_controller_client.c
+++ b/src/media_controller_client.c
@@ -59,7 +59,7 @@ static void __client_playback_cb(const char *interface_name, const char *signal_
mc_retm_if(params == NULL, "invalid playback data");
playback->state = atoi(params[1]);
- playback->position = atol(params[2]);
+ playback->position = (unsigned long long)atol(params[2]);
callback(params[0], (mc_playback_h) playback, reciever->user_data);