From b74668801857c9542ec3c1d62e2c21633728e5f2 Mon Sep 17 00:00:00 2001 From: wsw0108 Date: Tue, 25 Dec 2018 20:03:57 +0800 Subject: [PATCH] serial.cpp: fix shift-op typo --- serial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serial.cpp b/serial.cpp index 50951c6..6599af5 100644 --- a/serial.cpp +++ b/serial.cpp @@ -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 {