mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 11:38:39 -05:00 
			
		
		
		
	dll: fuse: ReadDirectory: log invalid directory entries
This commit is contained in:
		| @@ -1738,9 +1738,9 @@ static VOID fsp_fuse_intf_LogBadDirInfo( | |||||||
|     const char *PosixPath, const char *PosixName, const char *Message) |     const char *PosixPath, const char *PosixName, const char *Message) | ||||||
| { | { | ||||||
|     static LONG Count = 0; |     static LONG Count = 0; | ||||||
|     LONG NewCount; |     ULONG NewCount; | ||||||
|  |  | ||||||
|     NewCount = InterlockedIncrement(&Count); |     NewCount = (ULONG)InterlockedIncrement(&Count); | ||||||
|  |  | ||||||
|     /* log only the first 5 such warnings to avoid warning overload */ |     /* log only the first 5 such warnings to avoid warning overload */ | ||||||
|     if (5 >= NewCount) |     if (5 >= NewCount) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user