snapshot: change 'struct SnapShotPage' to a simple typedef
authorBrian Norris <banorris@uci.edu>
Thu, 3 Jan 2013 00:41:35 +0000 (16:41 -0800)
committerBrian Norris <banorris@uci.edu>
Thu, 3 Jan 2013 03:12:02 +0000 (19:12 -0800)
commit5f71c5e271a6fd27f2300b87b6bb45e122348320
tree2d1fce5da192ccc512bee9d1e499b0a764f38317
parent6e5c0bb2359b9fba6160957ffa88974233ba18ac
snapshot: change 'struct SnapShotPage' to a simple typedef

The struct SnapShotPage was being used improperly; it was accessed as
simply an array of data, instead of explicitly accessing its member
variable (which itself was an array). So just make this more
straightforward as a typedef'd array.

This also corrects a pointer cast to use (void *) when appropriate.
snapshot.cc
snapshotimp.h