Skip to content

Commit

Permalink
utils/ctool: Fixed compilation (added missing parenthesis).
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Nov 6, 2015
1 parent 6f3dbc0 commit 3a73156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ctool/ctool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<cnt; ++p,++n )
{
Expand Down

0 comments on commit 3a73156

Please sign in to comment.