X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e543d081879517e1b52c18b6cb38f43ad229bdd..6deda44a1a33136e4380dcc57643c34192bb96b2:/src/simix/simcalls_generated_body.c diff --git a/src/simix/simcalls_generated_body.c b/src/simix/simcalls_generated_body.c index 7f4189a1e3..f2652ad860 100644 --- a/src/simix/simcalls_generated_body.c +++ b/src/simix/simcalls_generated_body.c @@ -1741,13 +1741,13 @@ } return self->simcall.result.sgsz; } - inline static int simcall_BODY_file_seek(smx_file_t fd, sg_size_t offset, int origin) { + inline static int simcall_BODY_file_seek(smx_file_t fd, sg_offset_t offset, int origin) { smx_process_t self = SIMIX_process_self(); self->simcall.call = SIMCALL_FILE_SEEK; memset(&self->simcall.result, 0, sizeof(self->simcall.result)); memset(self->simcall.args, 0, sizeof(self->simcall.args)); self->simcall.args[0].dp = (void*) fd; - self->simcall.args[1].sgsz = (sg_size_t) offset; + self->simcall.args[1].sgoff = (sg_offset_t) offset; self->simcall.args[2].i = (int) origin; if (self != simix_global->maestro_process) { XBT_DEBUG("Yield process '%s' on simcall %s (%d)", self->name,