Changeset: 8acc8d2b1ffb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8acc8d2b1ffb
Modified Files:
clients/mapiclient/stethoscope.c
clients/mapiclient/tomograph.c
Branch: default
Log Message:
Fix compiler warnings
diffs (24 lines):
diff --git a/clients/mapiclient/stethoscope.c b/clients/mapiclient/stethoscope.c
--- a/clients/mapiclient/stethoscope.c
+++ b/clients/mapiclient/stethoscope.c
@@ -290,7 +290,7 @@ main(int argc, char **argv)
if (*response) {
if (debug)
printf("LASTLINE:%s", response);
- len = strlen(response);
+ len = (int) strlen(response);
strncpy(buf, response, len + 1);
} else
len = 0;
diff --git a/clients/mapiclient/tomograph.c b/clients/mapiclient/tomograph.c
--- a/clients/mapiclient/tomograph.c
+++ b/clients/mapiclient/tomograph.c
@@ -1948,7 +1948,7 @@ main(int argc, char **argv)
if (*response) {
if (debug)
fprintf(stderr,"LASTLINE:%s", response);
- len = strlen(response);
+ len = (int)strlen(response);
strncpy(buf, response, len + 1);
} else
len = 0;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list