fix a warning
authorSimon Marlow <marlowsd@gmail.com>
Thu, 16 Dec 2010 10:57:23 +0000 (10:57 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 16 Dec 2010 10:57:23 +0000 (10:57 +0000)
rts/sm/Evac.c

index 65da076..17e756f 100644 (file)
@@ -943,7 +943,7 @@ selector_loop:
               // For the purposes of LDV profiling, we have destroyed
               // the original selector thunk, p.
               SET_INFO(p, (StgInfoTable *)info_ptr);
-              OVERWRITING_CLOSURE(p);
+              OVERWRITING_CLOSURE((StgClosure*)p);
               SET_INFO(p, &stg_WHITEHOLE_info);
 #endif