dd390a5b28aeed72348bbc40391712b628fbd2a4
hiram
  Thu Jan 16 11:31:16 2014 -0800
sumValues can be negative now using an int instead of unsigned refs #12209
diff --git src/hg/hgTracks/variation.h src/hg/hgTracks/variation.h
index fecc618..a9d84fa 100644
--- src/hg/hgTracks/variation.h
+++ src/hg/hgTracks/variation.h
@@ -105,31 +105,31 @@
 /****** LD *****/
 
 /* 10 shades from black to fully saturated of red/green/blue */
 #define LD_DATA_SHADES 10
 extern Color ldShadesPos[LD_DATA_SHADES];
 extern Color ldHighLodLowDprime;
 extern Color ldHighDprimeLowLod;
 extern int colorLookup[256];
 
 struct ldStats 
 /* collect stats for drawing LD values in dense mode */
 {
     struct ldStats *next;
     unsigned        chromStart;
     unsigned        n;         /* count of snps with valid LD values */
-    unsigned        sumValues; /* sum of valid LD values */
+    int        sumValues; /* sum of valid LD values */
 };
 
 void ldLoadItems(struct track *tg);
 /* loadItems loads up items for the chromosome range indicated.   */
 
 int ldTotalHeight(struct track *tg, enum trackVisibility vis);
 /* Return total height. Called before and after drawItems. 
  * Must set height, lineHeight, heightPer */ 
 
 void ldDrawItems(struct track *tg, int seqStart, int seqEnd,
 		  struct hvGfx *hvg, int xOff, int yOff, int width, 
 		  MgFont *font, Color color, enum trackVisibility vis);
 /* Draw item list, one per track. */
 
 void ldDrawItemAt(struct track *tg, void *item, struct hvGfx *hvg,