https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9404bac5eed3ecb703d8cd9e7a5830fd278945ba

commit 9404bac5eed3ecb703d8cd9e7a5830fd278945ba
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Mon Apr 26 08:52:22 2021 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Mon Apr 26 08:52:22 2021 +0900

    [CMDUTILS][FC] Follow-up of #3622 (8bf4711)
    
    CORE-17500
---
 base/applications/cmdutils/fc/fc.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/base/applications/cmdutils/fc/fc.c 
b/base/applications/cmdutils/fc/fc.c
index 1697219c6cb..e9ec950bc2d 100644
--- a/base/applications/cmdutils/fc/fc.c
+++ b/base/applications/cmdutils/fc/fc.c
@@ -16,7 +16,10 @@
 
 // See also: 
https://stackoverflow.com/questions/33125766/compare-files-with-a-cmd
 typedef enum FCRET { // return code of FC command
-    FCRET_INVALID = -1, FCRET_IDENTICAL = 0, FCRET_DIFFERENT = 1, 
FCRET_CANT_FIND = 2
+    FCRET_INVALID = -1,
+    FCRET_IDENTICAL = 0,
+    FCRET_DIFFERENT = 1,
+    FCRET_CANT_FIND = 2
 } FCRET;
 
 #ifdef _WIN64
@@ -38,7 +41,8 @@ typedef enum FCRET { // return code of FC command
 #define FLAG_nnnn (1 << 10)
 #define FLAG_HELP (1 << 11)
 
-typedef struct FILECOMPARE {
+typedef struct FILECOMPARE
+{
     DWORD dwFlags; // FLAG_...
     INT n, nnnn;
     LPCWSTR file1, file2;
@@ -414,7 +418,7 @@ static FCRET WildcardFileCompare(FILECOMPARE *pFC)
 int wmain(int argc, WCHAR **argv)
 {
     FILECOMPARE fc = { .dwFlags = 0, .n = 100, .nnnn = 2 };
-    wchar_t *endptr;
+    PWCHAR endptr;
     INT i;
 
     /* Initialize the Console Standard Streams */

Reply via email to