Skip to content

Commit 5cdc65f

Browse files
author
David Loman
committed
Changed a return type from int to long in order to support building on 64bit hardware.
1 parent 7f9465a commit 5cdc65f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/clstepcore/sdaiSelect.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ SCLP23(Select)::SetUnderlyingType (const TypeDescriptor * td)
172172
return underlying_type = td;
173173
}
174174

175-
int SCLP23(Select)::exists() const
175+
long SCLP23(Select)::exists() const
176176
{
177-
return (int) underlying_type;
177+
return (long) underlying_type;
178178
}
179179

180180
void SCLP23(Select)::nullify()

src/clstepcore/sdaiSelect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class SCLP23_NAME(Select) {
8787
// from SDAI binding
8888
SCLP23_NAME(String) UnderlyingTypeName () const;
8989
const TypeDescriptor * CurrentUnderlyingType() const;
90-
int exists() const;
90+
long exists() const;
9191
void nullify();
9292

9393
Severity SelectValidLevel(const char *attrValue, ErrorDescriptor *err,

0 commit comments

Comments
 (0)