dev: Fix a bug in the use of seekp/seekg
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 17 Apr 2013 12:17:03 +0000 (08:17 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 17 Apr 2013 12:17:03 +0000 (08:17 -0400)
commit234c9a36a21fae7c0489e2f67b8e0385e61db732
tree33e9e1caf1befcb6c456c00d3ef548c4ba8a8020
parentc704b7be16cc46e1f57968ee5fd3d78de89135a5
dev: Fix a bug in the use of seekp/seekg

This patch fixes two instances of incorrect use of the seekp/seekg
stream member functions. These two functions return a stream reference
(*this), and should not be compared to an integer value.
src/dev/disk_image.cc