mirror of
https://github.com/janet-lang/janet
synced 2025-10-26 13:17:40 +00:00
Replace cast with type pun.
This commit is contained in:
@@ -35,7 +35,7 @@ int janet_line_getter(JanetArgs args) {
|
||||
|
||||
static void simpleline(JanetBuffer *buffer) {
|
||||
buffer->count = 0;
|
||||
char c;
|
||||
int c;
|
||||
for (;;) {
|
||||
c = fgetc(stdin);
|
||||
if (feof(stdin) || c < 0) {
|
||||
|
||||
Reference in New Issue
Block a user