aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-12 03:14:01 -0700
committerChris Robinson <[email protected]>2019-09-12 03:22:34 -0700
commit4c76f32ddac5145231609b1cb4f28028abed814b (patch)
tree139ec9836d367b014e17c6afc614d71338c15ff0 /utils
parent474d478854ef2ec46bf7b0cb6148c91b7fb8cc2c (diff)
Avoid implicit conversions with the examples and utils
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);