[Kst] kdeextragear-2/kst/kst/datasources/dirfile

Barth Netterfield netterfield at astro.utoronto.ca
Tue Oct 26 18:33:38 CEST 2004


CVS commit by netterfield: 

unsigned, not int.... 


  M +2 -2      getdata.c   1.18


--- kdeextragear-2/kst/kst/datasources/dirfile/getdata.c  #1.17:1.18
@@ -1041,5 +1041,5 @@ static int DoIfBit(struct FormatType *F,
   int spf;
   int ns;
-  int mask;
+  unsigned mask;
   
   /******* binary search for the field *******/
@@ -1074,5 +1074,5 @@ static int DoIfBit(struct FormatType *F,
   
   if (B->numbits==32) mask = 0xffffffff;
-  else mask = (int)(pow(2,B->numbits)-0.9999);
+  else mask = (unsigned)(pow(2,B->numbits)-0.9999);
   
   for (i=0; i<*n_read; i++) {





More information about the Kst mailing list