Skip to content

Commit 3a73156

Browse files
committed
utils/ctool: Fixed compilation (added missing parenthesis).
1 parent 6f3dbc0 commit 3a73156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/ctool/ctool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ _BuildDictionary( const char* bins_file, const char* dst_name="" )
344344
: 1;*/
345345

346346
unsigned int n = 0;
347-
unsigned int cnt = unsigned int((lzo_dict_max_size*info.weight) / info.size);
347+
unsigned int cnt = (unsigned int)((lzo_dict_max_size*info.weight) / info.size);
348348

349349
for( unsigned p=0,n=0; p<cnt; ++p,++n )
350350
{

0 commit comments

Comments
 (0)