Skip to content

Commit

Permalink
fixed a compiler warning
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.pointclouds.org/pcl/trunk@8541 a9d63959-f2ad-4865-b262-bf0e56cfafb6
  • Loading branch information
rbrusu committed Jan 17, 2013
1 parent 780b45d commit 1cc60d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stereo/src/stereo_matching.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ pcl::GrayStereoMatching::compute (unsigned char* ref_img, unsigned char* trg_img
for (int j = 0; j < height_; j++)
for (int i = 0; i < width_; i++)
if ( disp_map_[j * width_ + i] > 0)
disp_map_[j * width_ + i] += x_off_ * 16;
disp_map_[j * width_ + i] += static_cast<short int> (x_off_ * 16);

}

0 comments on commit 1cc60d3

Please sign in to comment.