From 655ed9cc7f237202e8d93b47c7cb12d6fc79d8b0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 18 Mar 2013 11:44:56 +0000 Subject: style cleanup --- intern/guardedalloc/MEM_guardedalloc.h | 2 +- intern/itasc/Armature.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'intern') diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index 6973c19dea9..dd22cf7c484 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -165,7 +165,7 @@ extern "C" { void MEM_printmemlist(void); /** calls the function on all allocated memory blocks. */ - void MEM_callbackmemlist(void (*func)(void*)); + void MEM_callbackmemlist(void (*func)(void *)); /** Print statistics about memory usage */ void MEM_printmemlist_stats(void); diff --git a/intern/itasc/Armature.cpp b/intern/itasc/Armature.cpp index 19f37a79484..e6f5fda4066 100644 --- a/intern/itasc/Armature.cpp +++ b/intern/itasc/Armature.cpp @@ -170,7 +170,7 @@ bool Armature::popQ(CacheTS timestamp) { if (m_qCCh >= 0) { double* item; - item = (double*)m_cache->getPreviousCacheItem(this, m_qCCh, ×tamp); + item = (double *)m_cache->getPreviousCacheItem(this, m_qCCh, ×tamp); if (item && m_qCTs != timestamp) { double* q = m_qKdl(0); memcpy(q, item, m_qKdl.rows()*sizeof(double)); @@ -698,8 +698,8 @@ void Armature::updateControlOutput(const Timestamp& timestamp) JointConstraint_struct* pConstraint = *it; unsigned int nr, i; for (i=0, nr = pConstraint->segment->second.q_nr; iv_nr; i++, nr++) { - *(double*)&pConstraint->value[i].y = m_qKdl[nr]; - *(double*)&pConstraint->value[i].ydot = m_qdotKdl[nr]; + *(double *)&pConstraint->value[i].y = m_qKdl[nr]; + *(double *)&pConstraint->value[i].ydot = m_qdotKdl[nr]; } if (pConstraint->function && (pConstraint->substep || (!timestamp.reiterate && !timestamp.substep))) { (*pConstraint->function)(timestamp, pConstraint->values, pConstraint->v_nr, pConstraint->param); -- cgit v1.2.3