From 73646b55761bcfd9e6b94365eac428cd60077883 Mon Sep 17 00:00:00 2001 From: Rich Graham Date: Fri, 13 Aug 2004 16:01:51 +0000 Subject: [PATCH] cast a pointer on assignment, to silence compiler. This commit was SVN r2116. --- src/mca/common/sm/common_sm_mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mca/common/sm/common_sm_mmap.c b/src/mca/common/sm/common_sm_mmap.c index 866c3f3aeb..1959802367 100644 --- a/src/mca/common/sm/common_sm_mmap.c +++ b/src/mca/common/sm/common_sm_mmap.c @@ -160,7 +160,7 @@ mca_common_sm_mmap_t* mca_common_sm_mmap_init(size_t size, char *file_name, return NULL; } mem_offset=addr-(unsigned char *)seg; - map->map_addr = seg; + map->map_addr = (unsigned char *)seg; map->data_addr = addr; map->map_size = size;