diff options
Diffstat (limited to 'src/plugins/it_extractor.c')
-rw-r--r-- | src/plugins/it_extractor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/it_extractor.c b/src/plugins/it_extractor.c index 5b8a136..3d8803f 100644 --- a/src/plugins/it_extractor.c +++ b/src/plugins/it_extractor.c | |||
@@ -70,7 +70,7 @@ EXTRACTOR_it_extract_method (struct EXTRACTOR_ExtractContext *ec) | |||
70 | char itversion[8]; | 70 | char itversion[8]; |
71 | const struct Header *head; | 71 | const struct Header *head; |
72 | 72 | ||
73 | if (HEADER_SIZE > | 73 | if ((ssize_t) HEADER_SIZE > |
74 | ec->read (ec->cls, | 74 | ec->read (ec->cls, |
75 | &data, | 75 | &data, |
76 | HEADER_SIZE)) | 76 | HEADER_SIZE)) |
@@ -90,9 +90,9 @@ EXTRACTOR_it_extract_method (struct EXTRACTOR_ExtractContext *ec) | |||
90 | return; | 90 | return; |
91 | 91 | ||
92 | /* Version of Tracker */ | 92 | /* Version of Tracker */ |
93 | snprintf (itversion, | 93 | snprintf (itversion, |
94 | sizeof (itversion), | 94 | sizeof (itversion), |
95 | "%d.%d", | 95 | "%d.%d", |
96 | (head->version[0] & 0x01), | 96 | (head->version[0] & 0x01), |
97 | head->version[1]); | 97 | head->version[1]); |
98 | if (0 != ec->proc (ec->cls, | 98 | if (0 != ec->proc (ec->cls, |