[Bug 264007] editors/wxhexeditor: fix build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 May 2022 23:04:36 UTC

            Bug ID: 264007
           Summary: editors/wxhexeditor: fix build on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: danfe@FreeBSD.org
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
 Attachment #233947 maintainer-approval?(danfe@FreeBSD.org)
                CC: danfe@FreeBSD.org
             Flags: merge-quarterly?

Created attachment 233947
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233947&action=edit
editors/wxhexeditor: fix build on armv7

char is an unsigned type on armv7, causing an expression to have
type unsigned int where this is not expected.  Insert a cast to
int to make the code work.

Please MFH this build fix if possible.
Tested with Poudriere on armv7 i386 amd64 FreeBSD 13.

You are receiving this mail because:
You are the assignee for the bug.