projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
コンパイル時のオプションとしてWextraを追加し、警告を修正
[YACASL2.git]
/
include
/
struct.h
diff --git
a/include/struct.h
b/include/struct.h
index
88ecda9
..
61fc03b
100644
(file)
--- a/
include/struct.h
+++ b/
include/struct.h
@@
-39,7
+39,7
@@
typedef struct {
CPU *cpu; /**<CPU */
WORD *memory; /**<メモリ */
int memsize; /**<メモリサイズ */
-
int
clocks; /**<クロック周波数 */
+
unsigned
clocks; /**<クロック周波数 */
} SYSTEM;
extern SYSTEM *sys;