Browse Source

oops, const conversion

David Rose 24 years ago
parent
commit
c3b7ae1eb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/putil/pipelineCycler.I

+ 1 - 1
panda/src/putil/pipelineCycler.I

@@ -215,7 +215,7 @@ write_stage(int) {
 template<class CycleDataType>
 template<class CycleDataType>
 INLINE CycleDataType *PipelineCycler<CycleDataType>::
 INLINE CycleDataType *PipelineCycler<CycleDataType>::
 cheat() const {
 cheat() const {
-  return &_data;
+  return (CycleDataType *)&_data;
 }
 }