Skip to content

Commit

Permalink
type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
olofhagsand committed Jul 2, 2024
1 parent f446142 commit e598d2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Expected: June 2024

### Features

* Added history callbacks API
* Added history callbacks API: `cligen_hist_fn_set`
* Added history subsection in tutorial
* Changed intermediate version numbers to be git-style, eg `7.0.0-39` instead of `7.1.0-PRE`

Expand Down
2 changes: 1 addition & 1 deletion cligen_getline.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static void gl_init1(void); /* prepare to edit a line */
static void gl_cleanup(void); /* to undo gl_init1 */
void gl_char_init(void); /* get ready for no echo input */
void gl_char_cleanup(void); /* undo gl_char_init */
static size_t (*gl_strlen)() = (size_t(*)())strlen;
static size_t (*gl_strlen)(const char *) = (size_t(*)())strlen;
/* returns printable prompt width */

static int gl_addchar(cligen_handle h, int c); /* install specified char */
Expand Down

0 comments on commit e598d2a

Please sign in to comment.