Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/spinlock.h')
-rw-r--r--winsup/cygwin/spinlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spinlock.h b/winsup/cygwin/spinlock.h
index b55817245..e43d19c88 100644
--- a/winsup/cygwin/spinlock.h
+++ b/winsup/cygwin/spinlock.h
@@ -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)