diff options
author | Max Horn | 2009-10-09 21:47:33 +0000 |
---|---|---|
committer | Max Horn | 2009-10-09 21:47:33 +0000 |
commit | 2e964baeef9a74d45090583b52419afa3c9c47bf (patch) | |
tree | 66106bd63ae8f9d7a1120d57344987856c961b56 /engines/sci/engine/kpathing.cpp | |
parent | 6f1c43a7311d5e942f055087e307d6a537e159c6 (diff) | |
download | scummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.tar.gz scummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.tar.bz2 scummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.zip |
Some const correctness changes; cleanup
svn-id: r44850
Diffstat (limited to 'engines/sci/engine/kpathing.cpp')
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index 2671aad6b6..1df6b086ff 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -611,8 +611,8 @@ static int vertex_compare(const void *a, const void *b) { // Returns : (int) -1 if a is smaller than b, 1 if a is larger than b, and // 0 if a and b are equal const Common::Point &p0 = s_vertex_cur->v; - const Common::Point &p1 = (*(Vertex **) a)->v; - const Common::Point &p2 = (*(Vertex **) b)->v; + const Common::Point &p1 = (*(const Vertex **) a)->v; + const Common::Point &p2 = (*(const Vertex **) b)->v; if (p1 == p2) return 0; |