From 3a7315662c6cf535df5c55257fc378973b7eaf3d Mon Sep 17 00:00:00 2001 From: Alexandr Akulich Date: Thu, 5 Nov 2015 16:12:54 +0500 Subject: [PATCH] utils/ctool: Fixed compilation (added missing parenthesis). --- src/utils/ctool/ctool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/ctool/ctool.cpp b/src/utils/ctool/ctool.cpp index a189d2cbc52..ff1436080b1 100644 --- a/src/utils/ctool/ctool.cpp +++ b/src/utils/ctool/ctool.cpp @@ -344,7 +344,7 @@ _BuildDictionary( const char* bins_file, const char* dst_name="" ) : 1;*/ unsigned int n = 0; - unsigned int cnt = unsigned int((lzo_dict_max_size*info.weight) / info.size); + unsigned int cnt = (unsigned int)((lzo_dict_max_size*info.weight) / info.size); for( unsigned p=0,n=0; p