From 9f84f1f1fdaf28502eff5a999cca5ad7f2bba65a Mon Sep 17 00:00:00 2001 From: Yogev Ezra Date: Mon, 31 Jan 2011 11:57:23 +0000 Subject: [PATCH] games/c4: fix NASM compilation warnings git-svn-id: svn://kolibrios.org@1821 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/c4/trunk/ai.inc | 2 +- programs/games/c4/trunk/c4.asm | 2 +- programs/games/c4/trunk/windows.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/games/c4/trunk/ai.inc b/programs/games/c4/trunk/ai.inc index e92386aedb..8ede9f138a 100644 --- a/programs/games/c4/trunk/ai.inc +++ b/programs/games/c4/trunk/ai.inc @@ -176,7 +176,7 @@ alphabeta: xor eax,eax leave ret 4*4 -.notfull +.notfull: ; max search depth reached -> do static evaluation cmp dword [ply],0 je .staticeval diff --git a/programs/games/c4/trunk/c4.asm b/programs/games/c4/trunk/c4.asm index 290a8ec984..134b11c1df 100644 --- a/programs/games/c4/trunk/c4.asm +++ b/programs/games/c4/trunk/c4.asm @@ -510,7 +510,7 @@ getMouseCol: inc eax ; xform into range [1,7] ret -.outside +.outside: xor eax,eax ret diff --git a/programs/games/c4/trunk/windows.inc b/programs/games/c4/trunk/windows.inc index f0913ea8ba..01f0e11949 100644 --- a/programs/games/c4/trunk/windows.inc +++ b/programs/games/c4/trunk/windows.inc @@ -338,7 +338,7 @@ drawLabels: mov eax,MOS_SC_WRITETEXT int 0x40 -.next +.next: add edi,LABEL_size ; next label pop ecx dec ecx