From 4b4feda25fa71fa0e695206bff02c90613b1f7a8 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 13 Sep 2023 11:41:36 -0700 Subject: [PATCH] =?utf8?q?appease=20clang-tidy:=20Don't=20do=20unnecessary?= =?utf8?q?=20size=5Ft=E2=86=92int=20narrowing=20conversion?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Why does fgets take an int instead of a size_t? :( --- tl-append.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tl-append.c b/tl-append.c index c4a4ac6..3e60a24 100644 --- a/tl-append.c +++ b/tl-append.c @@ -9,7 +9,7 @@ #include "common.h" -const size_t BUF_SIZE = 1024; +const int BUF_SIZE = 1024; const char PROMPT[] = "\33[H" /* Move cursor 'home' */ "\33[J" /* Clear screen */ -- 2.44.1