Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22019

Checksum::gen should use signed char

    XMLWordPrintable

    Details

      Description

      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];
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: