From 43f25fed9b837c285392e9006a3478e703fd5a60 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Mon, 14 Oct 2013 19:42:08 -0400 Subject: [PATCH] [Warnings] Fix linux32 warnings again (missed some spots) --- indra/libhacd/hacdHACD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/libhacd/hacdHACD.cpp b/indra/libhacd/hacdHACD.cpp index 35206f8ce..fb2a54e9e 100644 --- a/indra/libhacd/hacdHACD.cpp +++ b/indra/libhacd/hacdHACD.cpp @@ -138,7 +138,7 @@ namespace HACD if (m_callBack) { char msg[1024]; - sprintf(msg, "nCC %lu\n", m_graph.m_nCCs); + sprintf(msg, "nCC %zu\n", m_graph.m_nCCs); (*m_callBack)(msg, 0.0, 0.0, m_graph.GetNVertices()); } @@ -879,7 +879,7 @@ namespace HACD if (m_callBack) { char msg[1024]; - sprintf(msg, "\t CH(%zu) \t %zu \t %lf \t %zu \t %f \t %zu\n", v, static_cast(p), m_graph.m_vertices[v].m_concavity, m_graph.m_vertices[v].m_distPoints.Size(), m_graph.m_vertices[v].m_surf*100.0/m_area, m_graph.m_vertices[v].m_ancestors.size()); + sprintf(msg, "\t CH(%zu) \t %zu \t %lf \t %zu \t %f \t %zu\n", v, p, m_graph.m_vertices[v].m_concavity, m_graph.m_vertices[v].m_distPoints.Size(), m_graph.m_vertices[v].m_surf*100.0/m_area, m_graph.m_vertices[v].m_ancestors.size()); (*m_callBack)(msg, 0.0, 0.0, m_nClusters); p++; }