aboutsummaryrefslogtreecommitdiff
path: root/Source/CParse/parser.y
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2015-07-03 19:06:39 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2015-07-03 20:59:24 +0100
commitedcdaaec163ffd928e585e97ec08f9682790bf28 (patch)
treefd72c0048ee5a4654b4462e004b9f49777fb43fb /Source/CParse/parser.y
parentc767b33c3f0bc7e30ac00214e77f0fc572678e6b (diff)
downloadswig-edcdaaec163ffd928e585e97ec08f9682790bf28.tar.gz
Warning fixes for 64bit visual c++ on Windows
Diffstat (limited to 'Source/CParse/parser.y')
-rw-r--r--Source/CParse/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y
index ab4a0fb30..a3c5e73bf 100644
--- a/Source/CParse/parser.y
+++ b/Source/CParse/parser.y
@@ -744,7 +744,7 @@ static String *remove_block(Node *kw, const String *inputcode) {
String *name = Getattr(kw,"name");
if (name && (Cmp(name,"noblock") == 0)) {
char *cstr = Char(inputcode);
- size_t len = Len(inputcode);
+ int len = Len(inputcode);
if (len && cstr[0] == '{') {
--len; ++cstr;
if (len && cstr[len - 1] == '}') { --len; }