From 0332b455cbe986e5fced4c847e50bca0c82cfada Mon Sep 17 00:00:00 2001 From: tosh <tosh@monster.hlan> Date: Wed, 24 Apr 2013 13:33:53 +0200 Subject: [PATCH] removes leftover something and misplaced const-qualification that keeps it from compiling --- injector/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/injector/src/main.cpp b/injector/src/main.cpp index 61327ec41b..028de6cb04 100644 --- a/injector/src/main.cpp +++ b/injector/src/main.cpp @@ -42,7 +42,7 @@ void usage(void) std::cout << " -c FLOAT,FLOAT,FLOAT,FLOAT X,Y,Z,YAW position in universe where audio will be originating from and direction. Defaults to 0,0,0,0" << std::endl; std::cout << " -a 0-255 Attenuation curve modifier, defaults to 255" << std::endl; std::cout << " -f FILENAME Name of audio source file. Required - RAW format, 22050hz 16bit signed mono" << std::endl; -}; +} bool processParameters(int parameterCount, char* parameterData[]) { @@ -91,9 +91,9 @@ bool processParameters(int parameterCount, char* parameterData[]) } } return true; -};_Position +}; -int main(int argc, const char* argv[]) { +int main(int argc, char* argv[]) { srand(time(0)); int AUDIO_UDP_SEND_PORT = 1500 + (rand() % (int)(1500 - 2000 + 1));