modify buddy module for splint: use '%l' instead of '%z' for portability