X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d58934a46f789b5f6e436bb72f2e4fc031bd3661..94231df1406b77ceef622699e8f7721fd90307be:/src/gras/Transport/transport_plugin_file.c diff --git a/src/gras/Transport/transport_plugin_file.c b/src/gras/Transport/transport_plugin_file.c index fd1710675a..3fc5f57f63 100644 --- a/src/gras/Transport/transport_plugin_file.c +++ b/src/gras/Transport/transport_plugin_file.c @@ -24,7 +24,7 @@ GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(trp_file,transport); void gras_trp_file_close(gras_socket_t *sd); gras_error_t gras_trp_file_chunk_send(gras_socket_t *sd, - char *data, + const char *data, long int size); gras_error_t gras_trp_file_chunk_recv(gras_socket_t *sd, @@ -185,7 +185,7 @@ void gras_trp_file_close(gras_socket_t *sock){ */ gras_error_t gras_trp_file_chunk_send(gras_socket_t *sock, - char *data, + const char *data, long int size) { gras_assert0(sock->outgoing, "Cannot write on client file socket");