aboutsummaryrefslogtreecommitdiff
path: root/src/ClientPattern.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-16 11:18:22 (GMT)
committersimonb <simonb>2006-04-16 11:18:22 (GMT)
commit553104ee1d53104fa0790a9793a7047c61dd073f (patch)
tree5ccc4968b10f604c05aaa6d3bb13fc206fab8faa /src/ClientPattern.cc
parent02aa83a59eb3d9e209449b38808635f9e293a17a (diff)
downloadfluxbox-553104ee1d53104fa0790a9793a7047c61dd073f.zip
fluxbox-553104ee1d53104fa0790a9793a7047c61dd073f.tar.bz2
fix all compiler warnings with -Wall
Diffstat (limited to 'src/ClientPattern.cc')
-rw-r--r--src/ClientPattern.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ClientPattern.cc b/src/ClientPattern.cc
index 9b1c4e3..38d1602 100644
--- a/src/ClientPattern.cc
+++ b/src/ClientPattern.cc
@@ -137,10 +137,11 @@ ClientPattern::ClientPattern(const char *str):
137 137
138 // there shouldn't be anything else on the line 138 // there shouldn't be anything else on the line
139 match = str + pos; 139 match = str + pos;
140 err = match.find_first_not_of(" \t\n", pos); 140 size_t uerr;// need a special type here
141 if ((unsigned) err != match.npos) { 141 uerr = match.find_first_not_of(" \t\n", pos);
142 if (uerr != match.npos) {
142 // found something, not good 143 // found something, not good
143 had_error = err; 144 had_error++;
144 } 145 }
145 } 146 }
146 147