diff --git a/panda/src/putil/pipelineCycler.I b/panda/src/putil/pipelineCycler.I index d98b7bafa0..96a36d95a4 100644 --- a/panda/src/putil/pipelineCycler.I +++ b/panda/src/putil/pipelineCycler.I @@ -215,7 +215,7 @@ write_stage(int) { template INLINE CycleDataType *PipelineCycler:: cheat() const { - return &_data; + return (CycleDataType *)&_data; }