svn commit: r1930586 - subversion/trunk/subversion/include/private

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: kotkov
Date: Mon Dec 15 12:28:44 2025
New Revision: 1930586

Log:
* subversion/include/private/svn_io_private.h
  (SVN_IO__WIN_TIME_UNCHANGED, SVN_IO__WIN_TIME_SUSPEND_UPDATE): Enclose
   macro values in parentheses to prevent potential operator precedence
   issues during expansion.

Modified:
   subversion/trunk/subversion/include/private/svn_io_private.h

Modified: subversion/trunk/subversion/include/private/svn_io_private.h
==============================================================================
--- subversion/trunk/subversion/include/private/svn_io_private.h	Mon Dec 15 09:31:10 2025	(r1930585)
+++ subversion/trunk/subversion/include/private/svn_io_private.h	Mon Dec 15 12:28:44 2025	(r1930586)
@@ -200,7 +200,7 @@ svn_io__win_rename_open_file(apr_file_t
    Corresponds to the predefined value of "0" in:
    https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/ns-wdm-_file_basic_information#remarks
  */
-#define SVN_IO__WIN_TIME_UNCHANGED APR_INT64_MIN + 0
+#define SVN_IO__WIN_TIME_UNCHANGED (APR_INT64_MIN + 0)
 
 /* Special value that indicates that the file system should suspend updates
    for timestamp values such as LastAccessTime, LastWriteTime, and ChangeTime
@@ -208,7 +208,7 @@ svn_io__win_rename_open_file(apr_file_t
    Corresponds to the predefined value of "-1" in:
    https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/ns-wdm-_file_basic_information#remarks
  */
-#define SVN_IO__WIN_TIME_SUSPEND_UPDATE APR_INT64_MIN + 1
+#define SVN_IO__WIN_TIME_SUSPEND_UPDATE (APR_INT64_MIN + 1)
 
 /* This Windows-specific function sets the basic file information using an
    existing file handle. The SET_MTIME will be set as the new LastWriteTime
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.