aboutsummaryrefslogtreecommitdiffstats
path: root/String.c
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@debian.org>2012-12-01 11:55:43 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:32 +0200
commit204a191cc68fa15147b2dcfc2711665bd88f758e (patch)
treed7c63186e2aca725938bc4a308d58a5f8789df16 /String.c
parentd8bd1d8d45f42b28bd4674a5e88d0aa349f887c3 (diff)
parent2004bbc3ef28ada3acca05f5d5fa9108121a6784 (diff)
downloaddebian_htop-204a191cc68fa15147b2dcfc2711665bd88f758e.tar.gz
debian_htop-204a191cc68fa15147b2dcfc2711665bd88f758e.tar.bz2
debian_htop-204a191cc68fa15147b2dcfc2711665bd88f758e.zip
Imported Debian patch 1.0.2-1debian/1.0.2-1
Diffstat (limited to 'String.c')
-rw-r--r--String.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/String.c b/String.c
index adb6749..173932c 100644
--- a/String.c
+++ b/String.c
@@ -118,7 +118,7 @@ char* String_getToken(const char* line, const unsigned short int numMatch) {
count++;
if(inWord == 1){
- if (count == numMatch && line[i] != ' ' && line[i] != '\0' && line[i] != '\n' && line[i] != EOF) {
+ if (count == numMatch && line[i] != ' ' && line[i] != '\0' && line[i] != '\n' && line[i] != (char)EOF) {
match[foundCount] = line[i];
foundCount++;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy