Browse Source

Add cast to function pointer to remove warning

tags/v0.2.9.rc2^2
Olivier Grisel 11 years ago
parent
commit
2c556f093a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      driver/others/memory.c

+ 1
- 1
driver/others/memory.c View File

@@ -266,7 +266,7 @@ void openblas_fork_handler()
// implementation of OpenMP.
#if !defined(OS_WINDOWS) && defined(SMP_SERVER)
int err;
err = pthread_atfork (BLASFUNC(blas_thread_shutdown), NULL, NULL);
err = pthread_atfork ((void (*)(void)) BLASFUNC(blas_thread_shutdown), NULL, NULL);
if(err != 0)
openblas_warning(0, "OpenBLAS Warning ... cannot install fork handler. You may meet hang after fork.\n");
#endif


Loading…
Cancel
Save