Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B6BC18B04 for ; Tue, 10 Nov 2015 01:09:12 +0000 (UTC) Received: (qmail 46287 invoked by uid 500); 10 Nov 2015 01:09:11 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 45975 invoked by uid 500); 10 Nov 2015 01:09:11 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 45738 invoked by uid 99); 10 Nov 2015 01:09:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2015 01:09:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4B3822C1F58 for ; Tue, 10 Nov 2015 01:09:11 +0000 (UTC) Date: Tue, 10 Nov 2015 01:09:11 +0000 (UTC) From: "Alan Burlison (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12560) Fix sprintf warnings in {{DomainSocket.c}} introduced by HADOOP-12344 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12560?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14= 997772#comment-14997772 ]=20 Alan Burlison commented on HADOOP-12560: ---------------------------------------- A very good question. Yes, I think if you promote everything to 64 bit it w= ill have the best possible chance of being both cross-platform and future-p= roof. > Fix sprintf warnings in {{DomainSocket.c}} introduced by HADOOP-12344 > --------------------------------------------------------------------- > > Key: HADOOP-12560 > URL: https://issues.apache.org/jira/browse/HADOOP-12560 > Project: Hadoop Common > Issue Type: Bug > Components: native > Affects Versions: 2.8.0 > Reporter: Colin Patrick McCabe > Assignee: Mingliang Liu > Attachments: HADOOP-12560.000.patch > > > Fix sprintf warnings in {{DomainSocket.c}} introduced by HADOOP-12344 > {code} > [exec] op/hadoop-common-project/hadoop-common/src/main/native/src/or= g/apache/hadoop/net/unix/DomainSocket.c:488:10: warning: format =E2=80=98%l= d=E2=80=99 expects argument of type =E2=80=98long int=E2=80=99, but argumen= t 6 has type =E2=80=98long long int=E2=80=99 [-Wformat=3D] > [exec] check, path, mode, (long long)st.st_uid, (long long= )st.st_gid, check); > [exec] ^ > [exec] /pool/home/alanbur/bigdata/hadoop/hadoop-common-project/hadoo= p-common/src/main/native/src/org/apache/hadoop/net/unix/DomainSocket.c:488:= 10: warning: format =E2=80=98%ld=E2=80=99 expects argument of type =E2=80= =98long int=E2=80=99, but argument 7 has type =E2=80=98long long int=E2=80= =99 [-Wformat=3D] > [exec] /pool/home/alanbur/bigdata/hadoop/hadoop-common-project/hadoo= p-common/src/main/native/src/org/apache/hadoop/net/unix/DomainSocket.c:500:= 10: warning: format =E2=80=98%ld=E2=80=99 expects argument of type =E2=80= =98long int=E2=80=99, but argument 6 has type =E2=80=98long long int=E2=80= =99 [-Wformat=3D] > [exec] check, check); > [exec] ^ > [exec] /pool/home/alanbur/bigdata/hadoop/hadoop-common-project/hadoo= p-common/src/main/native/src/org/apache/hadoop/net/unix/DomainSocket.c:500:= 10: warning: format =E2=80=98%ld=E2=80=99 expects argument of type =E2=80= =98long int=E2=80=99, but argument 7 has type =E2=80=98long long int=E2=80= =99 [-Wformat=3D] > [exec] /pool/home/alanbur/bigdata/hadoop/hadoop-common-project/hadoo= p-common/src/main/native/src/org/apache/hadoop/net/unix/DomainSocket.c:513:= 10: warning: format =E2=80=98%ld=E2=80=99 expects argument of type =E2=80= =98long int=E2=80=99, but argument 6 has type =E2=80=98long long int=E2=80= =99 [-Wformat=3D] > [exec] (long long)uid, check, (long long)uid, check); > [exec] ^ > [exec] /pool/home/alanbur/bigdata/hadoop/hadoop-common-project/hadoo= p-common/src/main/native/src/org/apache/hadoop/net/unix/DomainSocket.c:513:= 10: warning: format =E2=80=98%ld=E2=80=99 expects argument of type =E2=80= =98long int=E2=80=99, but argument 7 has type =E2=80=98long long int=E2=80= =99 [-Wformat=3D] > [exec] /pool/home/alanbur/bigdata/hadoop/hadoop-common-project/hadoo= p-common/src/main/native/src/org/apache/hadoop/net/unix/DomainSocket.c:513:= 10: warning: format =E2=80=98%ld=E2=80=99 expects argument of type =E2=80= =98long int=E2=80=99, but argument 8 has type =E2=80=98long long int=E2=80= =99 [-Wformat=3D] > [exec] /pool/home/alanbur/bigdata/hadoop/hadoop-common-project/hadoo= p-common/src/main/native/src/org/apache/hadoop/net/unix/DomainSocket.c:513:= 10: warning: format =E2=80=98%ld=E2=80=99 expects argument of type =E2=80= =98long int=E2=80=99, but argument 10 has type =E2=80=98long long int=E2=80= =99 [-Wformat=3D] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)