aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-02 05:42:31 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-02 05:42:31 +1000
commit4ffd2afccdb49b333ae8ab574884737f3984c676 (patch)
tree094f3aeca0afe9297137af51aa1bf513cc134e2b /highlight.c
parentec58ffa641b8c68a6bd8cdecfcdda107234b0674 (diff)
Fix some minor 64-bit uncleanlieness - thanks to James Anthill
darcs-hash:20060601194231-ac50b-a6b9b94379ba1d5bb6c61f7fad4652c8f748b25f.gz
Diffstat (limited to 'highlight.c')
-rw-r--r--highlight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/highlight.c b/highlight.c
index d79df23c..e6dd7561 100644
--- a/highlight.c
+++ b/highlight.c
@@ -753,10 +753,10 @@ static void highlight_universal_internal( wchar_t * buff,
{
if( prev_q == *str )
{
- int pos1, pos2;
+ long pos1, pos2;
level--;
- pos1 = (int)al_pop( &l );
+ pos1 = (long)al_pop( &l );
pos2 = str-buff;
if( pos1==pos || pos2==pos )
{