Checksum::gen should use signed char

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Platforms E (01/08/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      On ppc64, char defaults to unsigned so code like the following returns a different result then x64 where char defaults to signed.

              c = (c << 8) | ((const char*)buf)[i];
      

            Assignee:
            Mark Benvenuto
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: