Skip to content

Commit 8456e0c

Browse files
committed
Force 64 bit
1 parent ecec208 commit 8456e0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IRGen/TypeLayout.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,10 @@ class LayoutStringBuilder {
395395
static_cast<uint64_t>(flags));
396396
B.fillPlaceholderWithInt(sizePlaceholder, IGM.SizeTy, refCountBytes);
397397

398-
B.addInt64(skip);
398+
B.addInt64((uint64_t)skip);
399399

400400
// NUL terminator
401-
B.addInt64(0);
401+
B.addInt64(0ull);
402402
}
403403
};
404404
}

0 commit comments

Comments
 (0)