Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp774979rwb; Fri, 23 Sep 2022 04:07:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6DB36FkBx3/S6HUqlfQ5x3N1eW9x02z9Tb1QWm2n2FwKvJip3Fl3msJK4SmMy+LlmLKNVG X-Received: by 2002:a17:902:bb89:b0:178:a406:72ab with SMTP id m9-20020a170902bb8900b00178a40672abmr8069153pls.165.1663931227924; Fri, 23 Sep 2022 04:07:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1663931227; cv=pass; d=google.com; s=arc-20160816; b=Ag0Y9Fi62mBKa/qfzDNuGEQmqW91vpGOc4z9XvSpEfVimsC3v9Y2BKhm/NowQ/E5Gw JIa3h3DWocPcqFM5rwbL+2QVQjM3LldxxMSYnriXMUYckiT/4k4FWEQrjMgSgTQ23ajy rGmFfCVkL+OxkRJbboeOeEhHae3UzviGjt0IOc6U95oU6zog4nrmG5Y/oVI3R2EvQW2d 1jUaq9+dLBBost3snuJEzvwCvbGQjejaT1fv6wxJxXk76gFOFin1Zasm3gpI8OyoAeod dXHNaZ++e3ewsPROe9YRlATS5VIzyOuHmHdy0tJrhEOcB8Xy9dsMLyZW67N246xcpEsA GvsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HpHqeuIKsEsGRDsZvj7O0lI1rwtdZ/lSaqEmOLIK3rY=; b=IuXetIfQZUJBIXDB+yHNbIuZqkfHkQ7VGQB19uUyBO9PzOlws4KkkNKTGMWApGH/AC u/F9zEnzgs/XAfNnRU5T/pB84XF+Wj/75tQRwUYwZ0Ajc7BE37H3jMYBf5OWPI/onWZ9 YHJtfesjumSuidm55+x7ihUOYO3LyCxuv/SquY/9BPIT5ZRV2jV4gOXQQ3ZJaChL8gxt K5YZ3j3ol0cZE4waHGGf6Xg8XhcvLmv/fktoz+ApDsKcoMgl7bgukdeZYdoiDzKkpr/q j8MNR21Iu+Ol3We7kcVHqaCoFkOssmBu8IlRJdVENZ8Gn9RkuVUL0jjmAjJ9SCYzylDM F5QA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arrigroup.onmicrosoft.com header.s=selector1-arrigroup-onmicrosoft-com header.b=i8qbAaxb; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h189-20020a636cc6000000b00429e52c1de8si8077950pgc.816.2022.09.23.04.06.53; Fri, 23 Sep 2022 04:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arrigroup.onmicrosoft.com header.s=selector1-arrigroup-onmicrosoft-com header.b=i8qbAaxb; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231150AbiIWKwQ (ORCPT + 99 others); Fri, 23 Sep 2022 06:52:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231759AbiIWKwC (ORCPT ); Fri, 23 Sep 2022 06:52:02 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70102.outbound.protection.outlook.com [40.107.7.102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B2F5A6C57 for ; Fri, 23 Sep 2022 03:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lCERd2Q06qte1J9erj54QRI/dW7+QrjxRkBu4x/551ZGVMkkvy5kv6ooYexo9yHgnFBtQdKyHwLpeIukdGT9d4T/PljJl6hyqExfEFSGSRwCp8gV/JRFQKyLhHt/ygX4DIAiydwxxXxSjTIPhBNwg5r2ufNOpIBvHkhjq6ZXI4sAHi0T7HSdNyKu1wLqilOw0ddC1ojqJjDB6GYp7nyN7G9ruLvdwSJoUZn0Zq+rCRVPEZTlIXPm6hviWnV0UlMY7iew5LoVHRN1ygUMP6kJip/FPrzVDWNNcyxzKj4eZtvM5jWDuvSjnEyrBL/5qGzVO/ZgIhNzeZ7ps3V+jcqIyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HpHqeuIKsEsGRDsZvj7O0lI1rwtdZ/lSaqEmOLIK3rY=; b=RApy04e302thO7lLvgwafiBw/cnUnDm0DRxdf81n2euKhIYAIxLgRpt8d1F7kb9L4kZixhcpLPeSTP2XWhl/al3tBY0z5gTmzHWtpFvaOu4FxSpMKpLyOGE+d8oRy7E/YFxMDiYC70COqDW/Fk5ucisJByiiLGgkVpRamSRUs8h6ZgWbqdkTwthqC02+BYWPOUbiQWMwxRHuxh42FT4b7n4kHdGoK5ccA1Oeq7NCsu05p+Lyanc/9DZDWf9bp2FAywEdqM7R491P5la/AUDOtcXamlDZLda4ZjTacvz+2azuWnU3s6VZ6oaZoe2NWO8id5XBOps+PYUYVhTRPfjoNA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=arri.de; dmarc=none action=none header.from=arri.de; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arrigroup.onmicrosoft.com; s=selector1-arrigroup-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HpHqeuIKsEsGRDsZvj7O0lI1rwtdZ/lSaqEmOLIK3rY=; b=i8qbAaxbWiuqSqxuV/rSARR4loHckb/xpzjuHmz5saX7Am3VwpQmIfXXZJCV1GkLwI8sDz9jBjV8hCw/Cly0WZqyeuhWo13VBl0HCmCnjNc1dqix2OqTJ45Of3wJY/ZF5YkRB1tOjwvjYGZZ4yGnv7pLlNT4VuomvWCfgCL4eWI= Received: from GV3P280CA0030.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:b::35) by DU2PR07MB8078.eurprd07.prod.outlook.com (2603:10a6:10:23a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.7; Fri, 23 Sep 2022 10:51:56 +0000 Received: from HE1EUR02FT065.eop-EUR02.prod.protection.outlook.com (2603:10a6:150:b:cafe::f4) by GV3P280CA0030.outlook.office365.com (2603:10a6:150:b::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.17 via Frontend Transport; Fri, 23 Sep 2022 10:51:56 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by HE1EUR02FT065.mail.protection.outlook.com (10.152.11.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5654.14 via Frontend Transport; Fri, 23 Sep 2022 10:51:55 +0000 Received: from N95HX1G2.arri.de (192.168.54.71) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 23 Sep 2022 12:51:54 +0200 From: Christian Eggers To: CC: Christian Eggers Subject: [PATCH BlueZ 1/3] client/player: fix printf format string Date: Fri, 23 Sep 2022 12:51:39 +0200 Message-ID: <20220923105141.20176-1-ceggers@arri.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [192.168.54.71] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1EUR02FT065:EE_|DU2PR07MB8078:EE_ X-MS-Office365-Filtering-Correlation-Id: 4364c82c-4ecb-4127-ace2-08da9d51a1b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qsKZl5ejnDeKSoOJddEq1DqZgFqkv33LQlxTV/JVHghpLQdDJ5rGgtxQVsGQSvOrZa3Gn0Y++FcdmCHjwWSjL9diYhUq20W6TaV/X/3HDTn7IApOO+C4nX3wEXN9Lm8bZ0KFz3VANMVWgszLcGOVCSXiTLpX4bKEPemi7aFITTFM44Ti03RDL3mmg8nUgQAF9jvHLet/A+Y3gcXIFBLzsYSs/urycVS7mBkhEwDWtyiTg8lPdKoOUUZvlAFra3K2CuIU4+5cznTj4duDSxrLtf8HH0KV/h6slaUnp7UmEcijyc4i32fJhOc17HhzpIBOqCFp1mlV1CLmuunjEgY+CsamSCW3CwwS/fpbMeHqgvZIU2mOwHDlJyRSNsFU9EBnB7mjc0skF6aZMdKnYODm6ozIAZxLIXoO+usN5Z0PaQGxwrwTvjIrlsJf9M+Ve09ciorNMB5NUYdZidgVk+VnpjnppsoAnjSEjBJ8C9TGutLNOxp0r58tIGsa/YEKRaMHyTcumv32JxS3Ip6zH6khnSzO/cEGwp68aDUfrhtqpolfIjTPztmdBqHnSzpisWgugVjFa2avA87DCu+U+PwZwOVDaierdCsiwlOKb4pDUDjT+Dzkw29N4uLEBk2N5P3vwD/coe0dN/QLLbAje4ZcDrPEYfbqjeNh5n6DIfQuRCHkfDgS/aAvNTldBGQRr7ZiAEqxed+NWkBR8G7xkXwMS6diQAbKeR/yFU9RwUKZFPckVwVxUHTZL2UD4P5OjfbgLurMhqBfp6GR8ankmfkUvpdEI6CLLq++x2TBuYAFwsO8t+m+8ooiGB9HPGjzgfka X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(396003)(346002)(136003)(39860400002)(376002)(451199015)(46966006)(36840700001)(36756003)(2906002)(186003)(8936002)(2616005)(4744005)(16526019)(336012)(86362001)(1076003)(26005)(426003)(41300700001)(356005)(70586007)(47076005)(4326008)(70206006)(8676002)(81166007)(82310400005)(316002)(82740400003)(36860700001)(7696005)(6916009)(83380400001)(5660300002)(6666004)(107886003)(478600001)(40480700001)(36900700001);DIR:OUT;SFP:1102; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2022 10:51:55.6683 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4364c82c-4ecb-4127-ace2-08da9d51a1b7 X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: HE1EUR02FT065.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR07MB8078 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Use macros from inttypes.h for correct printf format specifier for int64_t --- client/player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/player.c b/client/player.c index 0daacabf3c27..30ae263c8e41 100644 --- a/client/player.c +++ b/client/player.c @@ -15,7 +15,7 @@ #define _GNU_SOURCE #include #include -#include +#include #include #include #include @@ -3056,7 +3056,7 @@ static void send_wait(struct timespec *t_start, uint32_t us) delta_us = us - TS_USEC(&t_diff); if (delta_us < 0) { - bt_shell_printf("Send is behind: %zd us - skip sleep", + bt_shell_printf("Send is behind: %" PRId64 " us - skip sleep", delta_us); delta_us = 1000; } -- 2.35.3