summaryrefslogtreecommitdiff
path: root/ace/SV_Semaphore_Complex.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-01 17:08:35 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-01 17:08:35 +0000
commit62b257d7b49d0a935037ab215870f0ba5b70e032 (patch)
tree4912d0c66fd1d9188e7952417f890b59db9c05f8 /ace/SV_Semaphore_Complex.cpp
parent46d5e9ec391050a0b3fc7062c055f75491e94ec4 (diff)
downloadATCD-62b257d7b49d0a935037ab215870f0ba5b70e032.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/SV_Semaphore_Complex.cpp')
-rw-r--r--ace/SV_Semaphore_Complex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/SV_Semaphore_Complex.cpp b/ace/SV_Semaphore_Complex.cpp
index 1bcd3d64cec..db857edde00 100644
--- a/ace/SV_Semaphore_Complex.cpp
+++ b/ace/SV_Semaphore_Complex.cpp
@@ -74,7 +74,7 @@ ACE_SV_Semaphore_Complex::open (key_t k,
do
{
this->internal_id_ = ACE_OS::semget
- (this->key_, 2 + nsems, perms | ACE_SV_Semaphore_Complex::ACE_CREATE);
+ (this->key_, (u_short) 2 + nsems, perms | ACE_SV_Semaphore_Complex::ACE_CREATE);
if (this->internal_id_ == -1)
return -1; // permission problem or tables full