Skip to content

Commit e5677b8

Browse files
committed
Try to fix windows warnings
1 parent 7c66136 commit e5677b8

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

interop/model/metrics/q_collapsed_metric.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ namespace illumina { namespace interop { namespace model { namespace metrics {
105105
q_collapsed_metric(const uint_t lane,
106106
const uint_t tile,
107107
const uint_t cycle,
108-
const uint_t q20,
109-
const uint_t q30,
110-
const uint_t total,
111-
const uint_t median_qscore) :
108+
const uint64_t q20,
109+
const uint64_t q30,
110+
const uint64_t total,
111+
const uint64_t median_qscore) :
112112
metric_base::base_cycle_metric(lane, tile, cycle),
113113
m_q20(q20),
114114
m_q30(q30),
@@ -135,31 +135,31 @@ namespace illumina { namespace interop { namespace model { namespace metrics {
135135
*
136136
* @return number of q20 clusters
137137
*/
138-
uint_t q20()const
138+
uint64_t q20()const
139139
{
140140
return m_q20;
141141
}
142142
/** Number of Q30 clusters
143143
*
144144
* @return number of q30 clusters
145145
*/
146-
uint_t q30()const
146+
uint64_t q30()const
147147
{
148148
return m_q30;
149149
}
150150
/** Total number of q-scored clusters
151151
*
152152
* @return total number of q-scored clusters
153153
*/
154-
uint_t total()const
154+
uint64_t total()const
155155
{
156156
return m_total;
157157
}
158158
/** Median q-score for tile
159159
*
160160
* @return median q-score
161161
*/
162-
uint_t median_qscore()const
162+
uint64_t median_qscore()const
163163
{
164164
return m_median_qscore;
165165
}
@@ -261,10 +261,10 @@ namespace illumina { namespace interop { namespace model { namespace metrics {
261261
static const char* suffix(){return "2030";}
262262

263263
private:
264-
uint_t m_q20;
265-
uint_t m_q30;
266-
uint_t m_total;
267-
uint_t m_median_qscore;
264+
uint64_t m_q20;
265+
uint64_t m_q30;
266+
uint64_t m_total;
267+
uint64_t m_median_qscore;
268268
ulong_t m_cumulative_q20;
269269
ulong_t m_cumulative_q30;
270270
ulong_t m_cumulative_total;

src/interop/logic/metric/q_metric.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ namespace illumina { namespace interop { namespace logic { namespace metric
198198
collapsed.set_version(model::metrics::q_collapsed_metric::LATEST_VERSION);
199199
for(const_iterator beg = metric_set.begin(), end = metric_set.end();beg != end;++beg)
200200
{
201-
const uint_t q20 = beg->total_over_qscore(q20_idx);
202-
const uint_t q30 = beg->total_over_qscore(q30_idx);
203-
const uint_t total = beg->sum_qscore();
204-
const uint_t median = beg->median(metric_set.get_bins());
201+
const uint64_t q20 = beg->total_over_qscore(q20_idx);
202+
const uint64_t q30 = beg->total_over_qscore(q30_idx);
203+
const uint64_t total = beg->sum_qscore();
204+
const uint64_t median = beg->median(metric_set.get_bins());
205205
collapsed.insert(model::metrics::q_collapsed_metric(beg->lane(),
206206
beg->tile(),
207207
beg->cycle(),

0 commit comments

Comments
 (0)