diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-03-21 19:44:10 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-03-21 20:21:45 +0100 |
commit | fce8d1ec3329a97fc8886cf71eb3d1a763d71ad7 (patch) | |
tree | be31fc1a0631e75faa7642ba018311df22bda995 /stecpe.c | |
parent | ec01c6149dfc00dcf93a73ef829541a8b1a996a1 (diff) | |
download | libste-fce8d1ec3329a97fc8886cf71eb3d1a763d71ad7.tar.gz libste-fce8d1ec3329a97fc8886cf71eb3d1a763d71ad7.tar.xz libste-fce8d1ec3329a97fc8886cf71eb3d1a763d71ad7.zip |
set reasonable CFLAGS
Diffstat (limited to 'stecpe.c')
-rw-r--r-- | stecpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stecpe.c b/stecpe.c index 0cfbaad..b943843 100644 --- a/stecpe.c +++ b/stecpe.c @@ -7,7 +7,7 @@ stecpe(char *dst, const char *end, const char *src, const char *srcend) if (dst >= end) return dst; - size_t l = end - dst - 1; + ptrdiff_t l = end - dst - 1; size_t t = 1; if (srcend - src < l) { l = srcend - src; |