diff --git a/src/hchameleon.c b/src/hchameleon.c
index d475a013b1663996b1ef325157ea9ca8729ebf3e..4a3cfc1833a7242c6245e47d75942b77a5399edb 100644
--- a/src/hchameleon.c
+++ b/src/hchameleon.c
@@ -262,7 +262,7 @@ HCHAMELEON_destroy_matrix( HCHAM_desc_t *hdescA )
 }
 
 /* Provides a flat matrix (array of values) given an hmatrix structure */
-typedef	int (*core_lacpy_fct_t)( cham_uplo_t, int, int, const void *, int, void *, int );
+typedef	void (*core_lacpy_fct_t)( cham_uplo_t, int, int, const void *, int, void *, int );
 
 static void
 TCORE_uncompress( HCHAM_desc_t *hdescA,
@@ -310,7 +310,7 @@ TCORE_uncompress( HCHAM_desc_t *hdescA,
     free(col_ptr);
   }
   else {
-    int (*CORE_lacpy)( cham_uplo_t, int, int,
+    void (*CORE_lacpy)( cham_uplo_t, int, int,
                        const void *, int, void *, int ) = NULL;
     switch( hdescA->super->dtyp ) {
 #if defined(CHAMELEON_PREC_S)