From 0e896a9a027d1e13d17a41f809a110381a46a03d Mon Sep 17 00:00:00 2001 From: Azaezel Date: Fri, 14 Oct 2016 18:09:22 -0500 Subject: [PATCH] clang: unsigned>0 checks --- Engine/source/T3D/debris.h | 4 ++-- Engine/source/T3D/player.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Engine/source/T3D/debris.h b/Engine/source/T3D/debris.h index 925da1053..14cbd5e9f 100644 --- a/Engine/source/T3D/debris.h +++ b/Engine/source/T3D/debris.h @@ -62,8 +62,8 @@ struct DebrisData : public GameBaseData F32 elasticity; F32 lifetime; F32 lifetimeVariance; - U32 numBounces; - U32 bounceVariance; + S32 numBounces; + S32 bounceVariance; F32 minSpinSpeed; F32 maxSpinSpeed; bool explodeOnMaxBounce; // explodes after it has bounced max times diff --git a/Engine/source/T3D/player.h b/Engine/source/T3D/player.h index b8d1e5cfc..00ef2ca44 100644 --- a/Engine/source/T3D/player.h +++ b/Engine/source/T3D/player.h @@ -484,7 +484,7 @@ protected: /// @{ struct ActionAnimation { - U32 action; + S32 action; TSThread* thread; S32 delayTicks; // before picking another. bool forward;