]> granicus.if.org Git - php/commitdiff
use correct types for scale and precision
authorAntony Dovgal <tony2001@php.net>
Mon, 9 Jul 2007 09:08:52 +0000 (09:08 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 9 Jul 2007 09:08:52 +0000 (09:08 +0000)
ext/oci8/php_oci8_int.h

index 56101330f9119316f056c9112bb959d49641d2bd..5ae6e5db0c9be5921d0ece228ee779502f93055a 100644 (file)
@@ -224,8 +224,8 @@ typedef struct { /* php_oci_out_column {{{ */
        php_oci_define *define;                 /* define handle */
        int piecewise;                                  /* column is fetched piece-by-piece */
        ub4 cb_retlen;                                  /* */
-       ub2 scale;                                              /* column scale */
-       ub2 precision;                                  /* column precision */
+       sb1 scale;                                              /* column scale */
+       sb2 precision;                                  /* column precision */
        ub1 charset_form;                               /* charset form, required for NCLOBs */
        ub2 charset_id;                                 /* charset ID */
 } php_oci_out_column; /* }}} */