aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/makemhr/loadsofa.cpp2
-rw-r--r--utils/openal-info.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/makemhr/loadsofa.cpp b/utils/makemhr/loadsofa.cpp
index e82376aa..02911e12 100644
--- a/utils/makemhr/loadsofa.cpp
+++ b/utils/makemhr/loadsofa.cpp
@@ -50,7 +50,7 @@ static const char *SofaErrorStr(int err)
* of other axes as necessary. The epsilons are used to constrain the
* equality of unique elements.
*/
-static uint GetUniquelySortedElems(const uint m, const float *triplets, const int axis,
+static uint GetUniquelySortedElems(const uint m, const float *triplets, const uint axis,
const double *const (&filters)[3], const double (&epsilons)[3], float *elems)
{
uint count{0u};
diff --git a/utils/openal-info.c b/utils/openal-info.c
index 12dc6311..cc628b6e 100644
--- a/utils/openal-info.c
+++ b/utils/openal-info.c
@@ -124,7 +124,7 @@ static void printList(const char *list, char separator)
next = strchr(list, separator);
if(next)
{
- len = next-list;
+ len = (size_t)(next-list);
do {
next++;
} while(*next == separator);