server: Convert com_mvatt() to lopsub.
[paraslash.git] / mood.c
diff --git a/mood.c b/mood.c
index 940d72a17f9cbeb1d8dec42ea26cd9a821f9cbb3..acc5583ffffc00bbaa743d07e30a7b1d458cb451 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -8,6 +8,7 @@
 
 #include <regex.h>
 #include <osl.h>
+#include <lopsub.h>
 
 #include "para.h"
 #include "error.h"
@@ -747,7 +748,7 @@ static int mood_update_audio_file(const struct osl_row *aft_row,
                percent = 100;
        else if (percent < 0)
                percent = 0;
-       PARA_DEBUG_LOG("moving from rank %u to %lu%%\n", rank, percent);
+       PARA_DEBUG_LOG("moving from rank %u to %li%%\n", rank, percent);
        return score_update(aft_row, percent);
 }