summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpeq.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 11:55:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:46 +0100
commit581cfc49baddae96b12ed29724e929a2ded1e886 (patch)
treed205a9f5ee3222c7a529de9ee5673c70c18a6ac4 /hwpfilter/source/hwpeq.cxx
parent55663afa0ee1cf36968b278d81fc8ad686de5435 (diff)
Use bool
Change-Id: I161d250d4621dbdf487eea1a66773339b8005412
Diffstat (limited to 'hwpfilter/source/hwpeq.cxx')
-rw-r--r--hwpfilter/source/hwpeq.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx
index 68d18933359f..032a928c94e2 100644
--- a/hwpfilter/source/hwpeq.cxx
+++ b/hwpfilter/source/hwpeq.cxx
@@ -407,7 +407,8 @@ static char *make_keyword( char *keyword, const char *token)
{
assert(keyword);
char *ptr;
- int result = true, len = strlen(token);
+ bool result = true;
+ int len = strlen(token);
if( 255 < len )
strncpy(keyword, token, 255);