projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c520ca9
)
scan: Add cast to silence Clang warning about converting enum types.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 23 Sep 2017 17:47:09 +0000
(10:47 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 23 Sep 2017 17:47:09 +0000
(10:47 -0700)
src/language/lexer/scan.c
patch
|
blob
|
history
diff --git
a/src/language/lexer/scan.c
b/src/language/lexer/scan.c
index 6e9fc618e1568727ef04c6c41f4bf5ae951b9538..2cd66f07962324ffc5909fe5329f2fb64d3f36a5 100644
(file)
--- a/
src/language/lexer/scan.c
+++ b/
src/language/lexer/scan.c
@@
-410,7
+410,7
@@
scan_type_to_string (enum scan_type type)
#undef SCAN_TYPE
default:
- return token_type_to_name (type);
+ return token_type_to_name (
(enum token_type)
type);
}
}