# HG changeset patch
# User Barry Tannenbaum <barry.m.tannenbaum@intel.com>
# Date 1439902114 14400
#      Tue Aug 18 08:48:34 2015 -0400
# Node ID 6b1b4c4beef4698510e6d8b27740e1657f24f5e0
# Parent  6c173f5dd4d9b84b0201e4804eba33c4e8671388
Fixed instance of C4018 - Signed/unsigned mismatch

diff --git a/utils/lstopo/lstopo-draw.c b/utils/lstopo/lstopo-draw.c
--- a/utils/lstopo/lstopo-draw.c
+++ b/utils/lstopo/lstopo-draw.c
@@ -772,7 +772,7 @@
     textwidth = get_textwidth(output, methods, text, n, fontsize, gridsize);
     for(i=0; i<nmorelines; i++) {
       unsigned int nn = (unsigned int)strlen(morelines[i]);
-      int ntextwidth = get_textwidth(output, methods, morelines[i], nn, fontsize, gridsize);
+      unsigned int ntextwidth = get_textwidth(output, methods, morelines[i], nn, fontsize, gridsize);
       if (ntextwidth > textwidth)
 	textwidth = ntextwidth;
     }
