src/hg/instinct/flatfileToBED15/flatfileToBED15.c 1.4

1.4 2009/10/18 22:11:30 cszeto
Fixed negative values being reported for positions because of int rather than unsigned printing type
Index: src/hg/instinct/flatfileToBED15/flatfileToBED15.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/instinct/flatfileToBED15/flatfileToBED15.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- src/hg/instinct/flatfileToBED15/flatfileToBED15.c	14 May 2009 21:11:44 -0000	1.3
+++ src/hg/instinct/flatfileToBED15/flatfileToBED15.c	18 Oct 2009 22:11:30 -0000	1.4
@@ -8,9 +8,9 @@
 #include "options.h"
 #include "bed.h"
 
 #define MAX_LINE 100000
-#define MAX_TOKEN 30
+#define MAX_TOKEN 50
 
 static struct optionSpec optionSpecs[] =
 {
     {"flatFile", OPTION_STRING},
@@ -118,10 +118,10 @@
             if(b->chromStart < b->chromEnd) strcpy(dir, "+");
             else strcpy(dir, "-");    
         
             printf("%s\t", b->chrom);
-            printf("%d\t", b->chromStart);
-            printf("%d\t", b->chromEnd);
+            printf("%u\t", b->chromStart);
+            printf("%u\t", b->chromEnd);
             printf("%s\t", probeName);
             printf("0\t%s\t0\t0\t0\t1\t0\t0\t",dir);
             printf("%d\t", expCount);
             printf("%s\t", expIds);