summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/src/list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WhoUsesMyFiles/src/list.cpp')
-rw-r--r--plugins/WhoUsesMyFiles/src/list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WhoUsesMyFiles/src/list.cpp b/plugins/WhoUsesMyFiles/src/list.cpp
index 48d4bf80e7..89246dc052 100644
--- a/plugins/WhoUsesMyFiles/src/list.cpp
+++ b/plugins/WhoUsesMyFiles/src/list.cpp
@@ -24,7 +24,7 @@ PWumf new_wumf( DWORD dwID,
case PERM_FILE_CREATE: mir_tstrcpy(w->szPerm, _T("Create"));break;
default: mir_tstrcpy(w->szPerm, _T("Execute"));
}
- mir_sntprintf(w->szID, SIZEOF(w->szID), _T("%i"), dwID);
+ mir_sntprintf(w->szID, _countof(w->szID), _T("%i"), dwID);
w->dwID = dwID;
w->dwSess = dwSess;