summaryrefslogtreecommitdiffstats
path: root/src/map/scl
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2015-11-05 01:23:31 -0800
committerBaruch Sterin <baruchs@gmail.com>2015-11-05 01:23:31 -0800
commitc0ba25a69388765d7057ae8729e12b8a85435e35 (patch)
tree98c999fed9d9cf65b6425334e819c8b339fc6025 /src/map/scl
parent8ee49ff150a12f7183fe25e0a8d8e845391c100b (diff)
downloadabc-c0ba25a69388765d7057ae8729e12b8a85435e35.tar.gz
abc-c0ba25a69388765d7057ae8729e12b8a85435e35.tar.bz2
abc-c0ba25a69388765d7057ae8729e12b8a85435e35.zip
silence clang errors when compiling as C++
Diffstat (limited to 'src/map/scl')
-rw-r--r--src/map/scl/sclCon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/scl/sclCon.h b/src/map/scl/sclCon.h
index 982b4641..7a7be1b2 100644
--- a/src/map/scl/sclCon.h
+++ b/src/map/scl/sclCon.h
@@ -236,7 +236,7 @@ static inline int Scl_ConHasInLoads_( Scl_Con_t * p ) { return Vec_Wrd
static inline int Scl_ConHasOutReqs_( Scl_Con_t * p ) { return Vec_WrdCountZero(&p->vOutReqs) != Vec_WrdSize(&p->vOutReqs); }
static inline int Scl_ConHasOutLoads_( Scl_Con_t * p ) { return Vec_WrdCountZero(&p->vOutLoads) != Vec_WrdSize(&p->vOutLoads); }
-static inline char * Scl_ConGetInCell_( Scl_Con_t * p, int i ) { return Vec_PtrEntry( &p->vInCells, i ); }
+static inline char * Scl_ConGetInCell_( Scl_Con_t * p, int i ) { return (char*)Vec_PtrEntry( &p->vInCells, i ); }
static inline word Scl_ConGetInArr_( Scl_Con_t * p, int i ) { return Vec_WrdEntry( &p->vInArrs, i ); }
static inline word Scl_ConGetInSlew_( Scl_Con_t * p, int i ) { return Vec_WrdEntry( &p->vInSlews, i ); }
static inline word Scl_ConGetInLoad_( Scl_Con_t * p, int i ) { return Vec_WrdEntry( &p->vInLoads, i ); }