Revision: 4641
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4641&view=rev
Author:   hofman
Date:     2008-09-16 14:39:16 +0000 (Tue, 16 Sep 2008)

Log Message:
-----------
Better fix for UINT_MAX problem. Don't assign it to an int, instead use INT_MAX.

Modified Paths:
--------------
    trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser.m

Modified: trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser.m
===================================================================
--- trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser.m       
2008-09-16 11:47:50 UTC (rev 4640)
+++ trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser.m       
2008-09-16 14:39:16 UTC (rev 4641)
@@ -3120,7 +3120,7 @@
        }
        free(SYNCTEX_START);
        SYNCTEX_CUR = SYNCTEX_END = SYNCTEX_START = NULL;
-       max_line = line < (int)UINT_MAX-scanner->number_of_lists ? 
line+scanner->number_of_lists:(int)UINT_MAX;
+       max_line = line < INT_MAX-scanner->number_of_lists ? 
line+scanner->number_of_lists:INT_MAX;
        while(line<max_line) {
                /*  This loop will only be performed once for advanced viewers 
*/
                friend_index = (tag+line)%(scanner->number_of_lists);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to