Minor cleanup for win32stat.c.
authorTom Lane <[email protected]>
Sat, 10 Oct 2020 18:53:23 +0000 (14:53 -0400)
committerTom Lane <[email protected]>
Sat, 10 Oct 2020 18:53:23 +0000 (14:53 -0400)
Fix silly typo in previous commit.

Discussion: https://postgr.es/m/CAC+AXB0g44SbvSpC86o_1HWh8TAU2pZrMRW6tJT-dkijotx5Qg@mail.gmail.com

src/port/win32stat.c

index c111f0ef353c7235de5eef698bc1096f037989d0..d4315c44f4d8b900dbc6cf80f2800ebdaecb0210 100644 (file)
@@ -148,7 +148,7 @@ fileinfo_to_stat(HANDLE hFile, struct stat *buf)
    buf->st_nlink = fiData.nNumberOfLinks;
 
    buf->st_size = ((((uint64) fiData.nFileSizeHigh) << 32) |
-                   fiData.nFileSizeLowi);
+                   fiData.nFileSizeLow);
 
    return 0;
 }