You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/01/26 18:37:05 UTC

svn commit: r903336 - /subversion/trunk/subversion/svn/notify.c

Author: stsp
Date: Tue Jan 26 17:37:04 2010
New Revision: 903336

URL: http://svn.apache.org/viewvc?rev=903336&view=rev
Log:
* subversion/svn/notify.c
  (notify): Since we're faking sign extension anyway when printing "negative"
   line offsets for hunks which matched early, we might as well use the entire
   64bit range and use unsigned all the way. Anyone got a file with
   18446744073709551616 lines?

Modified:
    subversion/trunk/subversion/svn/notify.c

Modified: subversion/trunk/subversion/svn/notify.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/notify.c?rev=903336&r1=903335&r2=903336&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/notify.c (original)
+++ subversion/trunk/subversion/svn/notify.c Tue Jan 26 17:37:04 2010
@@ -311,7 +311,7 @@
       nb->received_some_change = TRUE;
       if (n->hunk_original_start != n->hunk_matched_line)
         {
-          apr_int64_t off;
+          apr_uint64_t off;
           const char *s;
           const char *minus;
 
@@ -331,7 +331,7 @@
                 "with offset %s");
           if ((err = svn_cmdline_printf(pool,
                                         apr_pstrcat(pool, s,
-                                                    "%"APR_INT64_T_FMT"\n",
+                                                    "%"APR_UINT64_T_FMT"\n",
                                                     NULL),
                                         n->hunk_original_start,
                                         n->hunk_original_length,