Fix build on archs where sizeof(size_t) < sizeof(uint64_t). ok jasper@

This commit is contained in:
naddy 2020-08-27 21:05:12 +00:00
parent 8c31efc538
commit dd2bfce0d1
2 changed files with 16 additions and 1 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.7 2020/08/14 17:15:56 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2020/08/27 21:05:12 naddy Exp $
COMMENT = RE platform powered by radare2
GH_ACCOUNT = radareorg
GH_PROJECT = cutter
GH_TAGNAME = v1.11.1
REVISION = 0
CATEGORIES = devel

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_widgets_GraphGridLayout_cpp,v 1.1 2020/08/27 21:05:12 naddy Exp $
Index: src/widgets/GraphGridLayout.cpp
--- src/widgets/GraphGridLayout.cpp.orig
+++ src/widgets/GraphGridLayout.cpp
@@ -526,7 +526,7 @@ void GraphGridLayout::calculateEdgeMainColumn(GraphGri
// to contain blocks above sweep line and query for nearest column which isn't blocked by a block.
struct Event {
- size_t blockId;
+ ut64 blockId;
size_t edgeId;
int row;
enum Type {