Bug 244326

Summary: science/mbdyn: use signed char where necessary
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
Status: New ---    
Severity: Affects Only Me CC: yuri
Priority: --- Flags: yuri: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch yuri: maintainer-approval+

Description Piotr Kubaj freebsd_committer 2020-02-22 22:51:22 UTC
Created attachment 211845 [details]
patch

During build on powerpc64, there's a warning:
parser.cc: In function 'int skip_remarks(HighParser&, InputStream&, char&)':
parser.cc:64:2: warning: case label value is less than minimum value for type
   64 |  case -1: // should be EOF!
      |  ^~~~

powerpc64 uses unsigned char by default.

This (along with my other patches) should be upstreamed, but I don't have an account on upstream's GitLab.