Revision: 18993
http://vice-emu.svn.sourceforge.net/vice-emu/?rev=18993&view=rev
Author: strik
Date: 2008-07-10 12:27:27 -0700 (Thu, 10 Jul 2008)
Log Message:
-----------
Added a cast for &rec_options.first_unused_register_address in the resource
initialisation. The other option would be to change
rec_options.first_unused_register_address to (signed) int, but that would
require even more casts at other places.
Modified Paths:
--------------
trunk/vice/src/c64/reu.c
Modified: trunk/vice/src/c64/reu.c
===================================================================
--- trunk/vice/src/c64/reu.c 2008-07-10 19:14:41 UTC (rev 18992)
+++ trunk/vice/src/c64/reu.c 2008-07-10 19:27:27 UTC (rev 18993)
@@ -427,7 +427,7 @@
{ "REUsize", 512, RES_EVENT_NO, NULL,
&reu_size_kb, set_reu_size, NULL },
{ "REUfirstUnusedRegister", REU_REG_RW_UNUSED, RES_EVENT_NO, NULL,
- &rec_options.first_unused_register_address, set_reu_first_unused, NULL },
+ (int *) &rec_options.first_unused_register_address, set_reu_first_unused, NULL },
{ NULL }
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|