mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
const int is unnecessary
This commit is contained in:
parent
32b1e88a0a
commit
8a222da42f
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ void *injectAudio(void *args) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(const int argc, const char* argv[]) {
|
int main(int argc, const char* argv[]) {
|
||||||
// new seed for random audio sleep times
|
// new seed for random audio sleep times
|
||||||
srand(time(0));
|
srand(time(0));
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ bool processParameters(int parameterCount, char* parameterData[])
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
int main(const int argc, const char* argv[]) {
|
int main(int argc, const char* argv[]) {
|
||||||
|
|
||||||
srand(time(0));
|
srand(time(0));
|
||||||
int AUDIO_UDP_SEND_PORT = 1500 + (rand() % (int)(1500 - 2000 + 1));
|
int AUDIO_UDP_SEND_PORT = 1500 + (rand() % (int)(1500 - 2000 + 1));
|
||||||
|
|
Loading…
Reference in a new issue