summaryrefslogtreecommitdiff
path: root/src/core/model/Domain.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/Domain.hpp')
-rw-r--r--src/core/model/Domain.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp
index 63f4c5d..db3b9e6 100644
--- a/src/core/model/Domain.hpp
+++ b/src/core/model/Domain.hpp
@@ -503,7 +503,7 @@ public:
* @return the index of the FieldDescriptor with the given name or -1 if
* no such FieldDescriptor was found.
*/
- int getFieldDescriptorIndex(
+ ssize_t getFieldDescriptorIndex(
const std::string &name = DEFAULT_FIELD_NAME) const;
/**
* Returns the index of the given FieldDescriptor or -1 of the given
@@ -514,7 +514,7 @@ public:
* @return the index of the given FieldDescriptor or -1 of the given
* FieldDescriptor is not registered at this Descriptor.
*/
- int getFieldDescriptorIndex(Handle<FieldDescriptor> fd) const;
+ ssize_t getFieldDescriptorIndex(Handle<FieldDescriptor> fd) const;
/**
* This returns true if this Descriptor has a FieldDescriptor with the