Fossil SCM

Safer version of previous compiler warning fix..

mgagnon 2015-02-22 15:31 UTC svn-import_no-svn-rev
Commit 936ebe677bd055a13c1f0419b069c37487968e09
1 file changed +1 -1
+1 -1
--- src/import.c
+++ src/import.c
@@ -915,11 +915,11 @@
915915
#define SVN_UNKNOWN 0
916916
#define SVN_TRUNK 1
917917
#define SVN_BRANCH 2
918918
#define SVN_TAG 3
919919
920
-#define MAX_INT_32 (~(1 << 31))
920
+#define MAX_INT_32 (0x7FFFFFFFL)
921921
922922
static void svn_finish_revision(){
923923
Blob manifest;
924924
static Stmt getChanges;
925925
static Stmt getFiles;
926926
--- src/import.c
+++ src/import.c
@@ -915,11 +915,11 @@
915 #define SVN_UNKNOWN 0
916 #define SVN_TRUNK 1
917 #define SVN_BRANCH 2
918 #define SVN_TAG 3
919
920 #define MAX_INT_32 (~(1 << 31))
921
922 static void svn_finish_revision(){
923 Blob manifest;
924 static Stmt getChanges;
925 static Stmt getFiles;
926
--- src/import.c
+++ src/import.c
@@ -915,11 +915,11 @@
915 #define SVN_UNKNOWN 0
916 #define SVN_TRUNK 1
917 #define SVN_BRANCH 2
918 #define SVN_TAG 3
919
920 #define MAX_INT_32 (0x7FFFFFFFL)
921
922 static void svn_finish_revision(){
923 Blob manifest;
924 static Stmt getChanges;
925 static Stmt getFiles;
926

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button