Fix some warnings generated by clang.

This commit is contained in:
Unknown W. Brackets committed 2013-02-24 10:23:31 -08:00
1 parent 8ea497d59a
commit 64c42ffaf2
12 files changed
+14 -24

No files matched your search

+1 -1
View File
@@ -2805,7 +2805,7 @@ std::vector<DebugThreadInfo> GetThreadsInfo()
DebugThreadInfo info;
info.id = *iter;
strncpy(info.name,t->GetName(),KERNELOBJECT_MAX_NAME_LENGTH);
info.name[KERNELOBJECT_MAX_NAME_LENGTH+1] = 0;
info.name[KERNELOBJECT_MAX_NAME_LENGTH] = 0;
info.status = t->nt.status;
info.entrypoint = t->nt.entrypoint;
if(*iter == currentThread)