diff options
Diffstat (limited to 'elftosb2/elftosb.cpp')
-rw-r--r-- | elftosb2/elftosb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elftosb2/elftosb.cpp b/elftosb2/elftosb.cpp index f358bd9..06717b1 100644 --- a/elftosb2/elftosb.cpp +++ b/elftosb2/elftosb.cpp @@ -168,7 +168,7 @@ public: std::string familyName(name); // Convert the argument string to lower case for case-insensitive comparison. - for (int n=0; n < familyName.length(); n++) + for (unsigned int n=0; n < familyName.length(); n++) { familyName[n] = tolower(familyName[n]); } @@ -451,7 +451,7 @@ public: { // split optarg into two strings std::string constName(optarg); - int i; + unsigned int i; for (i=0; i < strlen(optarg); ++i) { if (optarg[i] == '=') @@ -475,7 +475,7 @@ public: { // split optarg into two strings std::string optionName(optarg); - int i; + unsigned int i; for (i=0; i < strlen(optarg); ++i) { if (optarg[i] == '=') |