windows-64-bit-type-safety-20051105
[openafs.git] / src / WINNT / afsd / afsd_eventlog.c
index a9f60f1..f7f932f 100644 (file)
@@ -100,7 +100,7 @@ AddEventSource()
                                        0,                      // must be zero 
                                        REG_EXPAND_SZ,          // value type 
                                        (LPBYTE) szBuf,         // pointer to value data 
-                                       strlen(szBuf) + 1))     // length of value data
+                                       (DWORD)strlen(szBuf) + 1))      // length of value data
                        {
                                bRet = FALSE;
                                break;