Commit Diff


commit - 9025e981e506fbd72152fef7279739a1866c5f9c
commit + b9a36ae5ebce5fb8ce9d944a31210917b32c71d8
blob - 693a3a2716dba8360cbdcbc1f95fd2278b9b3e40
blob + ac1b2637f90cec3243da8a059be58205a4621203
--- lib/sigs.c
+++ lib/sigs.c
@@ -204,7 +204,7 @@ got_tag_write_signed_data(BUF *buf, struct got_tag_obj
 	got_date_format_gmtoff(gmtoff, sizeof(gmtoff),
 	    got_object_tag_get_tagger_gmtoff(tag));
 	if (asprintf(&tagger, "%s %lld %s", got_object_tag_get_tagger(tag),
-	    got_object_tag_get_tagger_time(tag), gmtoff) == -1) {
+	    (long long)got_object_tag_get_tagger_time(tag), gmtoff) == -1) {
 		err = got_error_from_errno("asprintf");
 		goto done;
 	}