From: James Ahlborn Date: Thu, 21 Sep 2006 01:59:55 +0000 (+0000) Subject: change numeric negate flag X-Git-Tag: rel_1_1_7~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7e61560f9a2c57fed4410e789bf144c54527f228;p=jackcess.git change numeric negate flag git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@115 f203690c-595d-4dc9-a70b-905162fa7fd2 --- diff --git a/src/java/com/healthmarketscience/jackcess/Column.java b/src/java/com/healthmarketscience/jackcess/Column.java index 02ea286..3fb63db 100644 --- a/src/java/com/healthmarketscience/jackcess/Column.java +++ b/src/java/com/healthmarketscience/jackcess/Column.java @@ -521,7 +521,7 @@ public class Column implements Comparable { } // 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)