garrynewman/GWEN — pull request #39 by DeeKayHT (2013-02-12 04:16:50+00:00)
Title: Compiler fix

Fix for compiler errors in Visual Studio 2008.

## Bug##
Visual Studio 2008 errors when compiling about Extension.size() in Gwen::Min() returning an ambiguous value (int vs. unsigned).

## Fix##
Replaced the hardcoded 512 with sizeof(FilterBuffer) since Extension.size()and sizeof() both return a size_t.

## Misc Changes##
Changed some hard-coded values used multiple times into a defined value. This should makes the code more readable and less prone to errors if the values need to change.