diff options
| author | Simon Robertshaw <simon@Simons-Mac-Pro.local> | 2012-04-26 12:10:47 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@Simons-Mac-Pro.local> | 2012-04-26 12:10:47 (GMT) |
| commit | bb8a3f76e3b558a63eab38ab15ebb71f9b5ac762 (patch) | |
| tree | ff63bd38df84018dc9843e5a5d26f5795b657735 /src/Config.h | |
| parent | 9e4cd165eb66b27a42f8eb3aad1993be5178d825 (diff) | |
| download | powder-bb8a3f76e3b558a63eab38ab15ebb71f9b5ac762.zip powder-bb8a3f76e3b558a63eab38ab15ebb71f9b5ac762.tar.gz | |
OS X compiling working, Make it a bit more friendly with stricter compilers
Diffstat (limited to 'src/Config.h')
| -rw-r--r-- | src/Config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Config.h b/src/Config.h index 5c2cab4..575a620 100644 --- a/src/Config.h +++ b/src/Config.h @@ -88,7 +88,7 @@ #define XCNTR 306 #define YCNTR 192 -#define MAX_DISTANCE sqrt(pow(XRES, 2)+pow(YRES, 2)) +#define MAX_DISTANCE sqrt(pow((float)XRES, 2)+pow((float)YRES, 2)) #define GRAV_DIFF |
