Merge pull request #27 from bjones1/master

Fix: Corrected type of size in GuardBytes to be size_t, not int.
Fix: Declare all variables before statements in a function.
     Likewise, place all function prototypes before statements.
     These changes support Microsoft Visual Studio 2008 Express Edition,
       which follows C89-style rules.