minicurses.h: fix parameter type for tparm() - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
 (HTM) git clone git://git.codemadness.org/sfeed_curses
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4319fae1c096263c17bab392a66914ab0551018a
 (DIR) parent ea54b7b64b9a9c92108a2e1c680c426ca248e9cd
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 25 Jul 2021 14:51:57 +0200
       
       minicurses.h: fix parameter type for tparm()
       
       It should be long, not int (POSIX).
       
       Diffstat:
         M minicurses.h                        |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/minicurses.h b/minicurses.h
       @@ -5,7 +5,7 @@
        
        const char *clr_eol = "\x1b[K";
        const char *clear_screen = "\x1b[H\x1b[2J";
       -const char *cursor_address = "\x1b[%d;%dH";
       +const char *cursor_address = "\x1b[%ld;%ldH";
        const char *cursor_normal = "\x1b[?25h"; /* DECTCEM (in)Visible cursor */
        const char *cursor_invisible = "\x1b[?25l"; /* DECTCEM (in)Visible cursor */
        const char *eat_newline_glitch = (void *)1;
       @@ -25,7 +25,7 @@ setupterm(char *term, int fildes, int *errret)
        }
        
        char *
       -tparm(const char *s, int p1, int p2, ...)
       +tparm(const char *s, long p1, long p2, ...)
        {
                static char buf[32];