Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2012 17:42:34 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r238177 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common
Message-ID:  <201207061742.q66HgYdM074135@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Fri Jul  6 17:42:34 2012
New Revision: 238177
URL: http://svn.freebsd.org/changeset/base/238177

Log:
  MFC r238071:
  
  Fix clang warning, introduced in the recent dtrace import.
  
  Approved by:	re (kib)

Modified:
  stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
Directory Properties:
  stable/9/cddl/   (props changed)
  stable/9/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
==============================================================================
--- stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c	Fri Jul  6 17:07:50 2012	(r238176)
+++ stable/9/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c	Fri Jul  6 17:42:34 2012	(r238177)
@@ -796,7 +796,7 @@ dt_print_llquantize(dtrace_hdl_t *dtp, F
 		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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207061742.q66HgYdM074135>