From: Jelle van der Waa Date: Fri, 14 Nov 2025 12:54:31 +0000 (+0100) Subject: sd-json: prefer using SD_JSON_BUILD_PAIR_UNSIGNED X-Git-Tag: v259-rc1~55^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ef5e56f977482ab8eb95e86ea1a9ec779f37391;p=thirdparty%2Fsystemd.git sd-json: prefer using SD_JSON_BUILD_PAIR_UNSIGNED No functional change, just refactoring. --- diff --git a/src/libsystemd/sd-json/sd-json.c b/src/libsystemd/sd-json/sd-json.c index e6f30bd4aac..295f30ff15a 100644 --- a/src/libsystemd/sd-json/sd-json.c +++ b/src/libsystemd/sd-json/sd-json.c @@ -4148,8 +4148,8 @@ _public_ int sd_json_buildv(sd_json_variant **ret, va_list ap) { if (dual_timestamp_is_set(ts)) { r = sd_json_buildo( &add, - SD_JSON_BUILD_PAIR("realtime", SD_JSON_BUILD_UNSIGNED(ts->realtime)), - SD_JSON_BUILD_PAIR("monotonic", SD_JSON_BUILD_UNSIGNED(ts->monotonic))); + SD_JSON_BUILD_PAIR_UNSIGNED("realtime", ts->realtime), + SD_JSON_BUILD_PAIR_UNSIGNED("monotonic", ts->monotonic)); if (r < 0) goto finish; } else