cmd: Remove useless cast to self.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-03-14 20:39:40 +01:00 committed by Alexandre Julliard
parent 1d1c038391
commit 7857074700
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ static DIRECTORY_STACK *WCMD_list_directory (DIRECTORY_STACK *inputparms, int le
/* Work out the number of columns */
WINE_TRACE("%d entries, maxwidth=%d, widest=%d\n", entry_count, max_width, widest);
if (wide || orderByCol) {
numCols = max(1, (int)max_width / widest);
numCols = max(1, max_width / widest);
numRows = entry_count / numCols;
if (entry_count % numCols) numRows++;
} else {