Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
changing type of offset parameter in file_seek from sg_size_t to the
[simgrid.git] / src / msg / msg_io.c
index 5ddba3d..65e40d6 100644 (file)
@@ -266,7 +266,7 @@ sg_size_t MSG_file_get_size(msg_file_t fd){
  * MSG_TASK_CANCELED (=8).
  *
  */
-msg_error_t MSG_file_seek(msg_file_t fd, sg_size_t offset, int origin)
+msg_error_t MSG_file_seek(msg_file_t fd, sg_offset_t offset, int origin)
 {
   msg_file_priv_t priv = MSG_file_priv(fd);
   return simcall_file_seek(priv->simdata->smx_file, offset, origin);