Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-7175 Attempt to fix gcc warnings that probably result in runtime errors
  3. CORE-7178

lib\rtl\res.c:312:9: comparison is always true due to limited range of data type

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Major
    • None
    • NTCore

    Description

      lib\rtl\res.c:312:9: error: comparison is always true due to limited range of data type [-Werror=type-limits]

      This check does not make sense at all. The id variable is a USHORT and will always be less than or equal to USHORT_MAX

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            encoded encoded
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: