From de47bdecb1e068a7f358b05184093a71bb25dcca Mon Sep 17 00:00:00 2001 From: Vincent COUVERT Date: Wed, 27 Nov 2013 08:30:26 +0100 Subject: [PATCH] Fix Windows compilation after https://codereview.scilab.org/#/c/13227/ Change-Id: Ie0d67deff25481cb54fd2c106dc816f463f3600e --- .../src/c/scilab_windows/ConvertSlash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scilab/modules/windows_tools/src/c/scilab_windows/ConvertSlash.c b/scilab/modules/windows_tools/src/c/scilab_windows/ConvertSlash.c index 916c4fd..c1c5145 100644 --- a/scilab/modules/windows_tools/src/c/scilab_windows/ConvertSlash.c +++ b/scilab/modules/windows_tools/src/c/scilab_windows/ConvertSlash.c @@ -37,9 +37,9 @@ static BOOL convertSlash(char *path_in, char *path_out, BOOL slashToAntislash) int i = 0; int len_path_out = 0; strcpy(path_out, path_in); - len_path_out = (int)strlen(path_out) + len_path_out = (int)strlen(path_out); - for (i = 0; i < len_path_out; i++) + for (i = 0; i < len_path_out; i++) { if ( slashToAntislash ) { -- 1.7.9.5