From 7154b8d77ea78396c44321a5e05614b0de02af22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 23 Dec 2014 17:26:22 +0100 Subject: Fix compiler warnings --- text.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'text.h') diff --git a/text.h b/text.h index 9dc0974..1a2035d 100644 --- a/text.h +++ b/text.h @@ -21,11 +21,11 @@ typedef struct Text Text; typedef struct Piece Piece; typedef struct { - const char const *start; /* begin of piece's data */ - const char const *end; /* pointer to the first byte after valid data i.e. [start, end) */ - const char const *text; /* current position within piece: start <= text < end */ - const Piece const *piece; /* internal state do not touch! */ - size_t pos; /* global position in bytes from start of file */ + const char *start; /* begin of piece's data */ + const char *end; /* pointer to the first byte after valid data i.e. [start, end) */ + const char *text; /* current position within piece: start <= text < end */ + const Piece *piece; /* internal state do not touch! */ + size_t pos; /* global position in bytes from start of file */ } Iterator; #define text_iterate(txt, it, pos) \ -- cgit v1.2.3