summaryrefslogtreecommitdiff
path: root/pat.cpp
diff options
context:
space:
mode:
authorAlexandre Mestiashvili <alex@biotec.tu-dresden.de>2018-01-02 15:57:48 +0100
committerAlexandre Mestiashvili <alex@biotec.tu-dresden.de>2018-01-02 15:57:48 +0100
commitff979c9064a5f475f7b26f80a40db087dc023cd3 (patch)
treea3d862d4d9a5cf628ab75034490015353cd7a76b /pat.cpp
parent7d9948854e45b2b2f6d407cab663892068f589b3 (diff)
New upstream version 2.3.4
Diffstat (limited to 'pat.cpp')
-rw-r--r--pat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pat.cpp b/pat.cpp
index b86a6be..9bd144e 100644
--- a/pat.cpp
+++ b/pat.cpp
@@ -61,7 +61,7 @@ static uint32_t genRandSeed(
int p = (int)qry[i];
assert_leq(p, 4);
size_t off = ((i & 15) << 1);
- rseed ^= (p << off);
+ rseed ^= ((uint32_t)p << off);
}
// Throw all the quality values for the read into the random
// seed