summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-10 12:03:32 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-10 12:10:20 +0100
commit272eaa7b97e83624ad01b6edbac34408ce971365 (patch)
treef01b26bf863789ae45adcd15946f219760e49e2b /crawl-ref/source/los.cc
parenteca809f540288cedd887dc8ef7ed191030b884b0 (diff)
downloadcrawl-ref-272eaa7b97e83624ad01b6edbac34408ce971365.tar.gz
crawl-ref-272eaa7b97e83624ad01b6edbac34408ce971365.zip
Fix compiler warning.
12:00 < Napkin> los.cc: In constructor `los_ray::los_ray(geom::ray)': 12:00 < Napkin> los.cc:154: warning: converting of negative value `-0x000000001' to `unsigned int'
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index 2728cc08a8..e771360f63 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -150,7 +150,7 @@ struct los_ray : public ray_def
unsigned int length;
los_ray(geom::ray _r)
- : ray_def(_r), start(-1), length(0)
+ : ray_def(_r), start(0), length(0)
{
}