From 00c9964a8c96e493a6d1d320a7b85f2b705e501c Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 28 May 2007 08:31:26 -0400 Subject: [PATCH] COMP: fix warning on MSVC 8: conversion from 'size_t' to 'unsigned int', possible loss of data Alex --- Source/cmHexFileConverter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmHexFileConverter.cxx b/Source/cmHexFileConverter.cxx index 254d0cc1e..176ec3b8f 100644 --- a/Source/cmHexFileConverter.cxx +++ b/Source/cmHexFileConverter.cxx @@ -38,7 +38,7 @@ static unsigned int ChompStrlen(const char* line) { return 0; } - unsigned int length = strlen(line); + size_t length = strlen(line); if ((line[length-1] == '\n') || (line[length-1] == '\r')) { length--;