Fix clang error

error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list [-Wc++11-narrowing]
Merge pull request #89 from AMDmi3/freebsd

Fix clang error