summaryrefslogtreecommitdiff
path: root/src/textconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/textconv.h')
-rw-r--r--src/textconv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textconv.h b/src/textconv.h
index bd6bf06bb76..5ab2c052fa3 100644
--- a/src/textconv.h
+++ b/src/textconv.h
@@ -80,7 +80,7 @@ enum textconv_operation
struct textconv_conversion_text
{
/* Length of the text in characters and bytes. */
- size_t length, bytes;
+ ptrdiff_t length, bytes;
/* Pointer to the text data. This must be deallocated by the
caller. */