]> source.dussan.org Git - jackcess.git/commitdiff
change numeric negate flag
authorJames Ahlborn <jtahlborn@yahoo.com>
Thu, 21 Sep 2006 01:59:55 +0000 (01:59 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Thu, 21 Sep 2006 01:59:55 +0000 (01:59 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@115 f203690c-595d-4dc9-a70b-905162fa7fd2

src/java/com/healthmarketscience/jackcess/Column.java

index 02ea2860950108bbcf9e99ca43285012617f895f..3fb63dbc413de0d1ed44565e0201d0c5ee432c82 100644 (file)
@@ -521,7 +521,7 @@ public class Column implements Comparable<Column> {
       }
 
       // write sign byte
-      buffer.put(negative ? (byte)1 : (byte)0);
+      buffer.put(negative ? (byte)0x80 : (byte)0);
 
       // adjust scale according to this column type (will cause the an
       // ArithmeticException if number has too many decimal places)