summaryrefslogtreecommitdiff
path: root/ASNMP/asnmp/oid.h
diff options
context:
space:
mode:
Diffstat (limited to 'ASNMP/asnmp/oid.h')
-rw-r--r--ASNMP/asnmp/oid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ASNMP/asnmp/oid.h b/ASNMP/asnmp/oid.h
index fd198c04073..7de02013ef4 100644
--- a/ASNMP/asnmp/oid.h
+++ b/ASNMP/asnmp/oid.h
@@ -117,7 +117,7 @@ public:
void trim( const size_t how_many = 1);
// trim off the n rightmost values of an oid
- int suboid(Oid& oid, size_t start = 0, size_t how_many = -1);
+ int suboid(Oid& oid, size_t start = 0, size_t how_many = size_t (-1));
// the equivalent of a substr(new_str, 0, 1)
int left_comparison( const unsigned long n, const Oid &o) const;