Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8076346rwr; Wed, 10 May 2023 17:42:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4LqX3eUymCc+6cGjDCO4azPTerKCjkK2PHSQljtMK1cJPkb5grL53gTf7AD3P8o0/DgKTr X-Received: by 2002:a17:90b:1e0c:b0:23b:3699:b8a9 with SMTP id pg12-20020a17090b1e0c00b0023b3699b8a9mr19475213pjb.17.1683765727975; Wed, 10 May 2023 17:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683765727; cv=none; d=google.com; s=arc-20160816; b=0dnqevESBbivQ1HyyU9eIzLfkFjiNxF4P37DP8AIRuMszeecwKNnKRHql+c0jOcbnU bqk3r45c2opaGNB9M6aVg5FrSOEr6vpuR6upu/z52Qzkd9V8AA03hGt5Pr+YdIzRCP1o c11Qun9S2WziJf1NDqevA+X2vKvAduO9Gqx/YjcACcYm5+TQ6GXXNZOv4JNaTQSoNEjp BycanI0ZFDwPeGgiCdmmi8ofqxL5uJezo8S6m9WksWsgucx0FQKIVoS40JXzZwNJexwO FRuWH3Yh0HwVWer7i61yZdK3nr6v9m2f9PyYm6z0dSZ2j4Nfu3rQPQ+DaCMP4il6PoeM OhGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gzTvq8trq8+ayndhr/Duw6DZGZUXmqCeCaWsKHRmxEU=; b=iO3aO35vgTSR6tPRCMhviQJ0SLPdCdTx9cr9ggcRCqofVfE14oVbO7QqiKBejZKLX0 RHah6R32FngsYWfHdnHtl6q9t2WEYJczZ8yZ6fdjV8d8nS6+Lmqq9Mkuf4N4TFy23aut qnBXKKzWV2y0834kE4cByCyUt+werGIyRAjcozw/bcZFG+mqL0+C1hq5mQMKUzGCqzwI /aaEeDo5M9mGDj1Kk9OSIXQhr4oq2BIDrz2/vEABKihgaSoDq2K7cXWUSnavTPzHfmfK PPyP6pUxJyhyaDxRmp/dJ6+BwgYRexLey65j69nky/lWyZItVjlwvWJ/c7krJk1KefSv XYkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ayaya.dev header.s=key1 header.b=RgROUtxZ; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ayaya.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q4-20020a17090a7a8400b0024e2c5e3a4asi20899563pjf.132.2023.05.10.17.41.56; Wed, 10 May 2023 17:42: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=@ayaya.dev header.s=key1 header.b=RgROUtxZ; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ayaya.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233254AbjEKAai (ORCPT + 99 others); Wed, 10 May 2023 20:30:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230514AbjEKAag (ORCPT ); Wed, 10 May 2023 20:30:36 -0400 X-Greylist: delayed 440 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 10 May 2023 17:30:34 PDT Received: from out-3.mta1.migadu.com (out-3.mta1.migadu.com [95.215.58.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 050511B1 for ; Wed, 10 May 2023 17:30:34 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ayaya.dev; s=key1; t=1683764593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gzTvq8trq8+ayndhr/Duw6DZGZUXmqCeCaWsKHRmxEU=; b=RgROUtxZn5M+qPIuYCsAxnD0BTkWmuwAJCGefRNwIQJ4mpN5PtxfQ2Aau5IKiLrBAGWNLC e1c+nHj4eKPhF2T9C01gJ5f4ulJmRMPAl2rOG5kIuCTkZdQCNhXc4Q6hVZISiZ02JZlHhN e0a2npGaU5PGkgygqdToNWb5H+K5hs8= From: psykose To: linux-bluetooth@vger.kernel.org Cc: alice@ayaya.dev Subject: [PATCH BlueZ 2/3] client/player: use long long for off_t print Date: Thu, 11 May 2023 02:22:51 +0200 Message-Id: <20230511002252.30868-2-alice@ayaya.dev> In-Reply-To: <20230511002252.30868-1-alice@ayaya.dev> References: <20230511002252.30868-1-alice@ayaya.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 %lld is guaranteed to be a 64-bit int, which we enforce via -D_FILE_OFFSET_BITS=64. Signed-off-by: psykose --- client/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/player.c b/client/player.c index 7719076c8..856997319 100644 --- a/client/player.c +++ b/client/player.c @@ -3578,7 +3578,7 @@ static int transport_send_seq(struct transport *transport, int fd, uint32_t num) offset = lseek(fd, 0, SEEK_CUR); - bt_shell_echo("[seq %d %d.%03ds] send: %zd/%zd bytes", + bt_shell_echo("[seq %d %d.%03ds] send: %lld/%lld bytes", transport->seq, secs, (nsecs + 500000) / 1000000, offset, transport->stat.st_size); -- 2.40.1