> -----Original Message-----
> From: Martin Sebor [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 01, 2006 1:09 AM
> To: [email protected]
> Subject: [PATCH] errors passing void* to munmap, mprotect
> 
[...]

> Unless someone (Farid?) sees a problem with the patch I will 
> commit it tomorrow.

  I see no problem, unless I suggest to remove the unnecessary casting
_rw_table to Pair*:

+static Pair*  _rw_table           = 0; // pointer to the table

+    Pair* const begin = _RWSTD_REINTERPRET_CAST (Pair*, _rw_table);

+    const size_t index =
+        size_t (it - _RWSTD_REINTERPRET_CAST (Pair*, _rw_table));

+    Pair* end = _RWSTD_REINTERPRET_CAST (Pair*, _rw_table) +
_rw_stats.blocks_;

Farid.

Reply via email to