summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/tls_pbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/tls_pbuf.h')
-rw-r--r--winsup/cygwin/tls_pbuf.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/cygwin/tls_pbuf.h b/winsup/cygwin/tls_pbuf.h
index e98fd60b8..3a94017a1 100644
--- a/winsup/cygwin/tls_pbuf.h
+++ b/winsup/cygwin/tls_pbuf.h
@@ -10,20 +10,20 @@ details. */
class tmp_pathbuf
{
- unsigned c_buf_old;
- unsigned w_buf_old;
+ uint32_t c_buf_old;
+ uint32_t w_buf_old;
public:
tmp_pathbuf () __attribute__ ((always_inline))
- : c_buf_old (_my_tls.locals.pathbufs.c_cnt),
- w_buf_old (_my_tls.locals.pathbufs.w_cnt)
+ : c_buf_old (_my_tls.pathbufs.c_cnt),
+ w_buf_old (_my_tls.pathbufs.w_cnt)
{}
~tmp_pathbuf () __attribute__ ((always_inline))
{
- _my_tls.locals.pathbufs.c_cnt = c_buf_old;
- _my_tls.locals.pathbufs.w_cnt = w_buf_old;
+ _my_tls.pathbufs.c_cnt = c_buf_old;
+ _my_tls.pathbufs.w_cnt = w_buf_old;
}
- inline bool check_usage (unsigned c_need, unsigned w_need)
+ inline bool check_usage (uint32_t c_need, uint32_t w_need)
{
return c_need + c_buf_old < TP_NUM_C_BUFS
&& w_need + w_buf_old < TP_NUM_W_BUFS;