Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2012 12:08:56 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238071 - head/cddl/contrib/opensolaris/lib/libdtrace/common
Message-ID:  <201207031208.q63C8ubu042977@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Tue Jul  3 12:08:55 2012
New Revision: 238071
URL: http://svn.freebsd.org/changeset/base/238071

Log:
  Fix clang warning, introduced in the recent dtrace import.
  
  MFC after:	   3 days

Modified:
  head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c

Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
==============================================================================
--- head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c	Tue Jul  3 11:53:46 2012	(r238070)
+++ head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c	Tue Jul  3 12:08:55 2012	(r238071)
@@ -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?201207031208.q63C8ubu042977>