Fix type of event id in win_eventlog_sink (#2598)
Co-authored-by: Arnar Bjarni Arnarson <arnar@menandmice.com>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							85a009ad64
						
					
				
				
					commit
					0b9ff5210a
				
			@@ -210,7 +210,7 @@ private:
 | 
				
			|||||||
    HANDLE hEventLog_{NULL};
 | 
					    HANDLE hEventLog_{NULL};
 | 
				
			||||||
    internal::sid_t current_user_sid_;
 | 
					    internal::sid_t current_user_sid_;
 | 
				
			||||||
    std::string source_;
 | 
					    std::string source_;
 | 
				
			||||||
    WORD event_id_;
 | 
					    DWORD event_id_;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    HANDLE event_log_handle()
 | 
					    HANDLE event_log_handle()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
@@ -258,7 +258,7 @@ protected:
 | 
				
			|||||||
    void flush_() override {}
 | 
					    void flush_() override {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
    win_eventlog_sink(std::string const &source, WORD event_id = 1000 /* according to mscoree.dll */)
 | 
					    win_eventlog_sink(std::string const &source, DWORD event_id = 1000 /* according to mscoree.dll */)
 | 
				
			||||||
        : source_(source)
 | 
					        : source_(source)
 | 
				
			||||||
        , event_id_(event_id)
 | 
					        , event_id_(event_id)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user