summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2009-04-11 16:31:52 (UTC)
committer Michael Krelin <hacker@klever.net>2009-04-11 16:31:52 (UTC)
commit10456ef16b0ef9d2288309127c1b6f356ace3f0b (patch) (unidiff)
tree09532917a39319ada79f445f7cd2d58868f98bfe
parent2f606a6221accb289b4e7982d57b04437190fda0 (diff)
downloadlibopkele-10456ef16b0ef9d2288309127c1b6f356ace3f0b.zip
libopkele-10456ef16b0ef9d2288309127c1b6f356ace3f0b.tar.gz
libopkele-10456ef16b0ef9d2288309127c1b6f356ace3f0b.tar.bz2
make compiler a bit happier
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--lib/discovery.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/discovery.cc b/lib/discovery.cc
index 26f3eed..b4ed3b6 100644
--- a/lib/discovery.cc
+++ b/lib/discovery.cc
@@ -585,8 +585,8 @@ namespace opkele {
585 } 585 }
586 } 586 }
587 587
588 int unknown_encoding(const XML_Char *n,XML_Encoding *i) { 588 int unknown_encoding(const XML_Char* /* n */,XML_Encoding *i) {
589 for(int ii=0;ii < sizeof(i->map)/sizeof(i->map[0]);++ii) 589 for(unsigned int ii=0;ii < sizeof(i->map)/sizeof(i->map[0]);++ii)
590 i->map[ii] = ii; 590 i->map[ii] = ii;
591 i->convert = 0; i->release = 0; 591 i->convert = 0; i->release = 0;
592 return XML_STATUS_OK; 592 return XML_STATUS_OK;