/* context_base - Code factorization across context switching implementations */
-/* Copyright (c) 2010-2014. The SimGrid Team.
+/* Copyright (c) 2010-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
void_pfn_smxprocess_t cleanup_func,
smx_process_t process)
{
- smx_context_t context = xbt_malloc0(size);
+ smx_context_t context = (smx_context_t) xbt_malloc0(size);
/* Store the address of the stack in heap to compare it apart of heap comparison */
if(MC_is_active())