From 9fa0ad4cd9767b534ffb440b07c6ae9c64781149 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Mon, 16 Nov 2020 21:32:31 -0800 Subject: [PATCH] change type --- agent/eventlog_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/eventlog_windows.go b/agent/eventlog_windows.go index 3ef55d8..c449ba3 100644 --- a/agent/eventlog_windows.go +++ b/agent/eventlog_windows.go @@ -22,7 +22,7 @@ type EventLogMsg struct { UID int `json:"uid"` // for vue } -func (a *WindowsAgent) GetEventLog(logName string, searchLastDays int64) []EventLogMsg { +func (a *WindowsAgent) GetEventLog(logName string, searchLastDays int) []EventLogMsg { var ( oldestLog uint32 nextSize uint32