Changeset: 9caec8c99f0f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9caec8c99f0f
Modified Files:
MonetDB5/src/mal/mal_linker.mx
Branch: Jun2010
Log Message:
fixing compilation on Windows: 'int' -> 'size_t' because strlen() retuns size_t
this should fix
mal_linker.mx:428: '+=' : conversion from 'size_t' to 'int', possible loss of
data
diffs (12 lines):
diff -r 1873b02ba3cb -r 9caec8c99f0f MonetDB5/src/mal/mal_linker.mx
--- a/MonetDB5/src/mal/mal_linker.mx Thu May 27 23:59:27 2010 +0200
+++ b/MonetDB5/src/mal/mal_linker.mx Fri May 28 09:16:32 2010 +0200
@@ -416,7 +416,7 @@
mod_path++;
}
if (lasts > 0) {
- int i = 0;
+ size_t i = 0;
int c;
for (c = 0; c < lasts; c++)
i += strlen(strs[c]) + 1; /* PATH_SEP or \0 */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list