Date: Fri, 29 Jun 2012 05:18:55 -0700 (PDT) From: William Grzybowski <william88@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/169540: [PATCH] Fix clang buildworld: dt_consume.c long long Message-ID: <4fed9d2f.89afec0a.57b6.ffffa494@mx.google.com> Resent-Message-ID: <201206291220.q5TCKDsi070007@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169540 >Category: kern >Synopsis: [PATCH] Fix clang buildworld: dt_consume.c long long >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 29 12:20:13 UTC 2012 >Closed-Date: >Last-Modified: >Originator: William Grzybowski >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: Following r237716 there is one more place to fix long long cast. This should fix clang buildworld. >How-To-Repeat: >Fix: See attached patch --- dt_consume_clang.patch begins here --- Index: cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c =================================================================== --- cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c (revision 237773) +++ cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c (working copy) @@ -796,7 +796,7 @@ return (0); assert(last_bin == bin); - (void) snprintf(c, sizeof (c), ">= %lld", value); + (void) snprintf(c, sizeof (c), ">= %lld", (long long)value); if (dt_printf(dtp, fp, "%16s ", c) < 0) return (-1); --- dt_consume_clang.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4fed9d2f.89afec0a.57b6.ffffa494>