fixed minor gcc comparison error in sandbox.cpp