Skip to content

Commit fd62d5b

Browse files
committed
python: use PRIu64 format macro constant
1 parent eebe24c commit fd62d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

player/py_extend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ py_mpv_hook_add(PyObject *self, PyObject *args)
697697
talloc_free(tmp);
698698
Py_RETURN_TRUE;
699699
}
700-
char *suffix = talloc_asprintf(tmp, "(mpv.hook_add) (%ld) '%s' '%d':",
700+
char *suffix = talloc_asprintf(tmp, "(mpv.hook_add) (%" PRIu64 ") '%s' '%d':",
701701
*reply_userdata, *name, *priority);
702702
PyObject *ret = check_error(err, suffix);
703703
talloc_free(tmp);

0 commit comments

Comments
 (0)