summaryrefslogtreecommitdiff
path: root/pcre_dfa_exec.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-12-08 12:43:37 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-12-08 12:43:37 +0000
commit75898917f98f29cc671184d9486c81260fddad71 (patch)
tree8b64326397ab5b89479875be859878563f033070 /pcre_dfa_exec.c
parent4623038deddf118a1de9674bd7d8dc1f2a28bb3b (diff)
downloadpcre-75898917f98f29cc671184d9486c81260fddad71.tar.gz
Fix some Microsoft compiler warnings.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1233 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_dfa_exec.c')
-rw-r--r--pcre_dfa_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcre_dfa_exec.c b/pcre_dfa_exec.c
index 91fb730..d126a2b 100644
--- a/pcre_dfa_exec.c
+++ b/pcre_dfa_exec.c
@@ -1705,7 +1705,7 @@ for (;;)
active_count--; /* Remove non-match possibility */
next_active_state--;
}
- ADD_NEW_DATA(-(state_offset + count), 0, ncount);
+ ADD_NEW_DATA(-(state_offset + (int)count), 0, ncount);
break;
default:
@@ -1749,7 +1749,7 @@ for (;;)
active_count--; /* Remove non-match possibility */
next_active_state--;
}
- ADD_NEW_DATA(-(state_offset + count), 0, 0);
+ ADD_NEW_DATA(-(state_offset + (int)count), 0, 0);
}
}
break;
@@ -1790,7 +1790,7 @@ for (;;)
active_count--; /* Remove non-match possibility */
next_active_state--;
}
- ADD_NEW_DATA(-(state_offset + count), 0, 0);
+ ADD_NEW_DATA(-(state_offset + (int)count), 0, 0);
}
}
break;