[PATCH] cmd: Remove useless cast to self
Michael Stefaniuc
mstefani at winehq.org
Thu Mar 14 14:39:40 CDT 2019
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
programs/cmd/directory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/cmd/directory.c b/programs/cmd/directory.c
index 435e0f36ed..1576ab7de5 100644
--- a/programs/cmd/directory.c
+++ b/programs/cmd/directory.c
@@ -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 {
--
2.20.1
More information about the wine-devel
mailing list