* spinlock.h (ULONG): Replace LONG operator with ULONG to accommodate
the fact that CURR_SHARED_MAGIC and USER_SHARED_MAGIC are unsigned values. * shared.cc (shared_info::initialize): Drop explicit cast here.
This commit is contained in:
@ -335,7 +335,7 @@ shared_info::initialize ()
|
||||
debug_printf ("Installation root: <%W> key: <%S>",
|
||||
cygheap->installation_root, &cygheap->installation_key);
|
||||
}
|
||||
else if (sversion != (LONG) CURR_SHARED_MAGIC)
|
||||
else if (sversion != CURR_SHARED_MAGIC)
|
||||
sversion.multiple_cygwin_problem ("system shared memory version",
|
||||
sversion, CURR_SHARED_MAGIC);
|
||||
else if (cb != sizeof (*this))
|
||||
|
Reference in New Issue
Block a user