]> Kevux Git Server - fll/commitdiff
Bugfix: there is no such thing as signed/unsigned double
authorKevin Day <kevin@kevux.org>
Wed, 7 Mar 2012 03:45:48 +0000 (21:45 -0600)
committerKevin Day <kevin@kevux.org>
Wed, 7 Mar 2012 03:45:48 +0000 (21:45 -0600)
Leave the signed and unsigned typedefs for convenience and compatibility purposes, but change the types to valid C data types.

level_0/f_types/c/types.h

index f32f0cfbf3043372e9754febb55a071a7cd3c09b..bf2f4f80da298ef17c49b713b0884a9b793b6e05 100644 (file)
@@ -33,15 +33,15 @@ extern "C"{
   #define f_s_short        signed short
   #define f_s_long_long    signed long long
   #define f_s_short_short  signed short
-  #define f_s_double       signed double
-  #define f_s_long_double  signed long double
+  #define f_s_double       double
+  #define f_s_long_double  long double
   #define f_u_int          unsigned int
   #define f_u_short        unsigned short
   #define f_u_short_short  unsigned short
   #define f_u_long         unsigned long
   #define f_u_long_long    unsigned long long
-  #define f_u_double       unsigned double
-  #define f_u_long_double  unsigned long double
+  #define f_u_double       double
+  #define f_u_long_double  long double
   #define f_char           char                 // should ONLY be char
   #define f_wchar          wchar                // should ONLY be wchar
   #define f_autochar       char                 // can be wchar or char