Diff between e11c6cd15530c9d1fc67db9450c406e8f0a7e062 and 4e4eb54758cc41caea4821d41a6766070f9d7721

Changed Files

File Additions Deletions Status
obexd/client/session.c +2 -2 modified

Full Patch

diff --git a/obexd/client/session.c b/obexd/client/session.c
index 6d8df4a..4a7afbc 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
@@ -633,7 +633,7 @@ int session_send(struct session_data *session, const char *filename)
 	session->filename = g_strdup(filename);
 
 	session->name = g_path_get_basename(filename);
-	session->path = g_strdup_printf("%s/transfer%llu",
+	session->path = g_strdup_printf("%s/transfer%ju",
 					TRANSFER_BASEPATH, counter++);
 
 	if (g_dbus_register_interface(session->conn, session->path,
@@ -677,7 +677,7 @@ int session_send(struct session_data *session, const char *filename)
 
 int session_register(struct session_data *session)
 {
-	session->path = g_strdup_printf("%s/session%llu",
+	session->path = g_strdup_printf("%s/session%ju",
 					SESSION_BASEPATH, counter++);
 
 	if (g_dbus_register_interface(session->conn, session->path,