зеркало из https://github.com/mozilla/gecko-dev.git
Bug 204407 cleanup warnings in nsToolkit.cpp and nsLookAndFeel.cpp
patch by arougthopher@lizardland.net r=cls
This commit is contained in:
Родитель
dfb0daa2d2
Коммит
2b26119a5f
|
@ -261,8 +261,10 @@ void nsToolkit::GetInterface()
|
|||
char portname[64];
|
||||
char semname[64];
|
||||
|
||||
sprintf(portname, "event%p", mGuiThread);
|
||||
sprintf(semname, "sync%p", mGuiThread);
|
||||
PR_snprintf(portname, sizeof(portname), "event%lx",
|
||||
(long unsigned) mGuiThread);
|
||||
PR_snprintf(semname, sizeof(semname), "sync%lx",
|
||||
(long unsigned) mGuiThread);
|
||||
|
||||
eventport = find_port(portname);
|
||||
syncsem = my_find_sem(semname);
|
||||
|
|
Загрузка…
Ссылка в новой задаче