* 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:
@@ -67,7 +67,7 @@ public:
|
||||
}
|
||||
}
|
||||
~spinlock () {done (setto);}
|
||||
operator LONG () const {return val;}
|
||||
operator ULONG () const {return (ULONG) val;}
|
||||
/* FIXME: This should be handled in a more general fashion, probably by
|
||||
establishing a linked list of spinlocks which are freed on process exit. */
|
||||
void multiple_cygwin_problem (const char *w, unsigned m, unsigned v)
|
||||
|
Reference in New Issue
Block a user