Fix operator precedence bug. Thanks Thomas Buck, xythobuz@xythobuz.de
Fix type in fprintf format, strlen is %lu not %d. Thanks Thomas Buck, xythobuz@xythobuz.de