Commit graph

1 commit

Author SHA1 Message Date
Xin LI
f5f555fb36 Add a few casts to initializer of int array when the constant is greater
than 0x7fffffff, as they have exceeded the range of standard int.  This
makes the code to compile when -std=c++11.

The resulting binary was not changed by this commit.  PORTREVISION
not bumped intentionally as this is a build fix.

While I'm there, also convert the header to new style.

PR:		ports/171525
Submitted by:	Michael Gmelin <freebsd grem de>
2012-10-08 21:55:37 +00:00