Skip to content

Commit 860013d

Browse files
committed
Update Xcode project; fix Mac build.
1 parent 453dfb0 commit 860013d

File tree

3 files changed

+50
-42
lines changed

3 files changed

+50
-42
lines changed

src/emucore/Random.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Random : public Serializable
3737
Create a new random number generator with seed based on system time.
3838
*/
3939
explicit Random() {
40-
initSeed(std::chrono::system_clock::now().time_since_epoch().count());
40+
initSeed(static_cast<uInt32>(std::chrono::system_clock::now().time_since_epoch().count()));
4141
}
4242

4343
/**

src/gui/WhatsNewDialog.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent,
8888

8989
// Set needed dimensions
9090
ypos += VGAP * 2 + buttonHeight + VBORDER;
91-
assert(ypos <= FBMinimum::Height); // minimal launcher height
91+
assert(ypos <= int(FBMinimum::Height)); // minimal launcher height
9292
setSize(MAX_CHARS * fontWidth + HBORDER * 2, ypos, max_w, max_h);
9393

9494
WidgetArray wid;

0 commit comments

Comments
 (0)