[Debian-med-packaging] Bug#911983: issues on architectures where char is unsigned (#15)

Adrian Bunk notifications at github.com
Wed Feb 6 20:51:50 GMT 2019


This is a bug pattern that seems to be in many places in phast:
 ```
char c;
...
while ((c = (char)getopt_long(argc, argv, "i:o:s:e:l:G:r:T:a:g:c:C:L:I:A:M:O:w:N:Y:X:fuDVxPzRSk4mh", long_opts, &opt_idx)) != -1) {

```
The casts in commit 273b8ce6 silenced the warnings where the compiler was warning about this bug...

-- 
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/CshlSiepelLab/phast/issues/15#issuecomment-461182677
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20190206/477dbe41/attachment.html>


More information about the Debian-med-packaging mailing list