|
From: <man...@us...> - 2013-05-20 12:28:09
|
Revision: 2145
http://sourceforge.net/p/modplug/code/2145
Author: manxorist
Date: 2013-05-20 12:28:03 +0000 (Mon, 20 May 2013)
Log Message:
-----------
[Ref] Silence two signed/unsigned compare warnings.
Modified Paths:
--------------
trunk/OpenMPT/soundlib/tuning.cpp
trunk/OpenMPT/soundlib/tuning.h
Modified: trunk/OpenMPT/soundlib/tuning.cpp
===================================================================
--- trunk/OpenMPT/soundlib/tuning.cpp 2013-05-20 12:27:23 UTC (rev 2144)
+++ trunk/OpenMPT/soundlib/tuning.cpp 2013-05-20 12:28:03 UTC (rev 2145)
@@ -524,7 +524,7 @@
{
uint64 val;
srlztn::ReadAdaptive1248(iStrm, val);
- LimitMax(val, 256); // Read 256 at max.
+ LimitMax(val, 256u); // Read 256 at max.
for(size_t i = 0; i < val; i++)
{
int16 key;
Modified: trunk/OpenMPT/soundlib/tuning.h
===================================================================
--- trunk/OpenMPT/soundlib/tuning.h 2013-05-20 12:27:23 UTC (rev 2144)
+++ trunk/OpenMPT/soundlib/tuning.h 2013-05-20 12:28:03 UTC (rev 2145)
@@ -36,7 +36,7 @@
static RATIOTYPE DefaultBARFUNC(const NOTEINDEXTYPE&, const STEPINDEXTYPE&);
static const NOTEINDEXTYPE s_StepMinDefault = -64;
static const UNOTEINDEXTYPE s_RatioTableSizeDefault = 128;
- static const STEPINDEXTYPE s_RatioTableFineSizeMaxDefault = 1000;
+ static const USTEPINDEXTYPE s_RatioTableFineSizeMaxDefault = 1000;
static const SERIALIZATION_VERSION s_SerializationVersion = 4;
//END STATIC CONST MEMBERS
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|