You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2012/05/01 18:42:28 UTC
svn commit: r1332750 - /subversion/trunk/subversion/libsvn_delta/compat.c
Author: hwright
Date: Tue May 1 16:42:28 2012
New Revision: 1332750
URL: http://svn.apache.org/viewvc?rev=1332750&view=rev
Log:
* subversion/libsvn_delta/compat.c
(sort_deletes_first): Use the correct type for the difference in pointers.
Modified:
subversion/trunk/subversion/libsvn_delta/compat.c
Modified: subversion/trunk/subversion/libsvn_delta/compat.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/compat.c?rev=1332750&r1=1332749&r2=1332750&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/compat.c (original)
+++ subversion/trunk/subversion/libsvn_delta/compat.c Tue May 1 16:42:28 2012
@@ -21,6 +21,8 @@
* ====================================================================
*/
+#include <stddef.h>
+
#include "svn_types.h"
#include "svn_error.h"
#include "svn_delta.h"
@@ -1347,8 +1349,8 @@ sort_deletes_first(const svn_sort__item_
const char *relpath2 = item2->key;
const char *slash1;
const char *slash2;
- int len1;
- int len2;
+ ptrdiff_t len1;
+ ptrdiff_t len2;
/* Are these two items siblings? The 'if' statement tests if they are
siblings in the root directory, or that slashes were found in both