fix trivial compiler warning in net.c
[paraslash.git] / random_selector.c
index a90822c..ec1f5c6 100644 (file)
@@ -98,7 +98,7 @@ static char **random_get_audio_file_list(unsigned int num)
                goto out;
        /* careful, files might got deleted underneath */
        num_audio_files = audio_file_count; /* can only decrease */
-       len = MIN(num, num_audio_files);
+       len = PARA_MIN(num, num_audio_files);
        ret = -E_NOTHING_FOUND;
        if (!len) /* nothing found, return NULL */
                goto out;