summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-05-05 08:38:20 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-05-05 08:38:20 +0000
commit34efebef846deb9f87655caa72109913017d81ec (patch)
treee38817240796185a755e4a577fdfb96abdc2d677
parentf87d2ea7b3eb5a1aba3c158601f746a9a103a002 (diff)
downloadATCD-34efebef846deb9f87655caa72109913017d81ec.tar.gz
ChangeLogTag: Fri May 5 08:09:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--ace/MMAP_Memory_Pool.cpp4
-rw-r--r--ace/MMAP_Memory_Pool.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ace/MMAP_Memory_Pool.cpp b/ace/MMAP_Memory_Pool.cpp
index 4cce9fff7d3..372ae608872 100644
--- a/ace/MMAP_Memory_Pool.cpp
+++ b/ace/MMAP_Memory_Pool.cpp
@@ -109,7 +109,7 @@ ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool (const ACE_TCHAR *backing_store_name,
#if (defined (ACE_HAS_SIGINFO_T) && !defined (ACE_LACKS_SI_ADDR)) || defined (ACE_WIN32)
// For plaforms that give the faulting address.
- guess_on_fault_ = 0;
+ guess_on_fault_ = false;
#else
// For plaforms that do NOT give the faulting address, let the
// options decide whether to guess or not.
@@ -117,7 +117,7 @@ ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool (const ACE_TCHAR *backing_store_name,
guess_on_fault_ = options->guess_on_fault_;
else
// If no options are specified, default to true.
- guess_on_fault_ = 1;
+ guess_on_fault_ = true;
#endif /* (defined (ACE_HAS_SIGINFO_T) && !defined (ACE_LACKS_SI_ADDR)) || defined (ACE_WIN32) */
// Only change the defaults if <options> != 0.
diff --git a/ace/MMAP_Memory_Pool.h b/ace/MMAP_Memory_Pool.h
index 91162b5863c..b87008ddb51 100644
--- a/ace/MMAP_Memory_Pool.h
+++ b/ace/MMAP_Memory_Pool.h
@@ -105,7 +105,7 @@ public:
* parameter is ignored on platforms that know the faulting address
* (UNIX with SI_ADDR and Win32).
*/
- int guess_on_fault_;
+ bool guess_on_fault_;
/// Pointer to a security attributes object. Only used on NT.
LPSECURITY_ATTRIBUTES sa_;