Loading ...
Sorry, an error occurred while loading the content.
 

Bug: Typos in nuttx/include/stdint.h

Expand Messages
  • johanneshampel
    Hi, ... +++ ./nuttx/include/stdint.h 2011-03-02 07:36:39.771436708 +0100 @@ -60,7 +60,7 @@ #define INT16_MAX 0x7fff #define UINT16_MAX
    Message 1 of 2 , Mar 1, 2011
      Hi,

      There are minor typos in the above mentioned file. Please find below the patch:

      --- ../svn-upstream/nuttx/include/stdint.h 2011-03-02 07:29:02.201441276 +0100
      +++ ./nuttx/include/stdint.h 2011-03-02 07:36:39.771436708 +0100
      @@ -60,7 +60,7 @@
      #define INT16_MAX 0x7fff
      #define UINT16_MAX 0xffff

      -#ifdef __INT64_DEFINED
      +#ifdef __INT24_DEFINED
      # define INT24_MIN 0x800000
      # define INT24_MAX 0x7fffff
      # define UINT24_MAX 0xffffff
      @@ -86,7 +86,7 @@
      #define INT16_LEASTN_MAX 0x7fff
      #define UINT16_LEASTN_MAX 0xffff

      -#ifdef __INT64_DEFINED
      +#ifdef __INT24_DEFINED
      # define INT24_LEASTN_MIN 0x800000
      # define INT24_LEASTN_MAX 0x7fffff
      # define UINT24_LEASTN_MAX 0xffffff
      @@ -112,7 +112,7 @@
      #define INT16_FASTN_MAX 0x7fff
      #define UINT16_FASTN_MAX 0xffff

      -#ifdef __INT64_DEFINED
      +#ifdef __INT24_DEFINED
      # define INT24_FASTN_MIN 0x800000
      # define INT24_FASTN_MAX 0x7fffff
      # define UINT24_FASTN_MAX 0xffffff


      Best regards
      Jo
    • Gregory N
      ... Thanks! I always appreciate bug reports! I ll get this changed checked into SVN today. Greg
      Message 2 of 2 , Mar 2, 2011
        > There are minor typos in the above mentioned file. Please find below the patch:

        Thanks! I always appreciate bug reports! I'll get this changed checked into SVN today.

        Greg
      Your message has been successfully submitted and would be delivered to recipients shortly.