Skip to content

Commit

Permalink
Fix LocalUDP compilation error on WINX86
Browse files Browse the repository at this point in the history
  • Loading branch information
gioblu committed Aug 5, 2018
1 parent 916496c commit f365834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/strategies/LocalUDP/LocalUDP.h
Expand Up @@ -52,7 +52,7 @@ class LocalUDP {
#ifdef PJON_ESP
return 10000ul * attempts + PJON_RANDOM(10000);
#elif _WIN32
return 1000ul * attempts + (1000ul * PJON_RANDOM());
return 1000ul * attempts + PJON_RANDOM(1000);
#else
(void)attempts; // Avoid "unused parameter" warning
return 1;
Expand Down

0 comments on commit f365834

Please sign in to comment.