Fossil SCM

Fix compiler warning...

mgagnon 2015-02-22 15:17 UTC svn-import_no-svn-rev
Commit 44011cd21d90e7fa0dcb7987d278ad798a5b450a
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 - 1)
920
+#define MAX_INT_32 (~(1 << 31))
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 - 1)
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 (~(1 << 31))
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