ksahlin / strobealign

Aligns short reads using dynamic seed size with strobemers
MIT License
128 stars 16 forks source link

Get rid of the last compiler warning #412

Closed marcelm closed 3 months ago

marcelm commented 3 months ago

It would be more correct to convert all start and end coordinates on query and reference to unsigned, but this is a much smaller change and should do for now.

warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
   99 |             if (h.query_start > prev_q_start + k) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~