fixes for building on unix

Originally committed to SVN as r2363.
This commit is contained in:
Karl Blomster 2008-09-15 19:27:12 +00:00
parent 6aea170a2e
commit 0dc49108c4

View file

@ -21,6 +21,7 @@
#include <iostream>
#include <string>
#include <stdlib.h>
#include "ffms.h"
int TrackMask;
@ -97,7 +98,7 @@ void ParseCMDLine (int argc, char *argv[]) {
}
static int __stdcall UpdateProgress(int State, int64_t Current, int64_t Total, void *Private) {
static int FFMS_CC UpdateProgress(int State, int64_t Current, int64_t Total, void *Private) {
using namespace std;
int *LastPercentage = (int *)Private;
int Percentage = int((double(Current)/double(Total)) * 100);