Where char may contain a negative value, it should explicitly be
authorHiroshi Inoue <inoue@tpf.co.jp>
Mon, 10 Feb 2003 04:34:49 +0000 (04:34 +0000)
committerHiroshi Inoue <inoue@tpf.co.jp>
Mon, 10 Feb 2003 04:34:49 +0000 (04:34 +0000)
declared as signed char (Oliver Elphick).

connection.h

index 0bf20e59c95795f625f97f7ccb4bec5c65714b45..fe097f385f5454fbbed2a06f8f6dc91c485f756a 100644 (file)
@@ -195,14 +195,14 @@ typedef struct
    char        translation_dll[MEDIUM_REGISTRY_LEN];
    char        translation_option[SMALL_REGISTRY_LEN];
    char        focus_password;
-   char        disallow_premature;
-   char        allow_keyset;
-   char        updatable_cursors;
-   char        lf_conversion;
-   char        true_is_minus1;
-   char        int8_as;
-   char        bytea_as_longvarbinary;
-   char        use_server_side_prepare;
+   signed char disallow_premature;
+   signed char allow_keyset;
+   signed char updatable_cursors;
+   signed char lf_conversion;
+   signed char true_is_minus1;
+   signed char int8_as;
+   signed char bytea_as_longvarbinary;
+   signed char use_server_side_prepare;
    GLOBAL_VALUES drivers;      /* moved from driver's option */
 } ConnInfo;