Audit code: signed-ness of char type differs between x86 and ARM

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines - 2022-09-19
    • 2

      The char type by default is signed on x86 and unsigned on ARM. The usage of the type can cause subtle portability bugs between the platforms. We should check if we could have correctness issues because of this. We should also audit the WiredTiger code to make sure our usage of the type is correct between the platforms.

      Reference: https://www.arm.linux.org.uk/docs/faqs/signedchar.php

              Assignee:
              Alexander Gorrod
              Reporter:
              Sulabh Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: