serial.cpp: fix shift-op typo

This commit is contained in:
wsw0108 2018-12-25 20:03:57 +08:00
parent 5421dbf8f9
commit b746688018
No known key found for this signature in database
GPG Key ID: 63EF6C4BF9C8E1F2

View File

@ -355,7 +355,7 @@ static long long scale_geometry(struct serialization_state *sst, long long *bbox
}
if (!*(sst->initialized)) {
if (x < 0 || x >= (1LL << 32) || y < 0 || y >= (1LL < 32)) {
if (x < 0 || x >= (1LL << 32) || y < 0 || y >= (1LL << 32)) {
*(sst->initial_x) = 1LL << 31;
*(sst->initial_y) = 1LL << 31;
} else {