Fixed intermittent crashes in clientprefs (bug 4660, r=psychonic).

This commit is contained in:
Asher Baker
2012-05-29 17:41:48 +01:00
parent e2340363e3
commit 618eb254c0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ void CookieManager::OnPluginDestroyed(IPlugin *plugin)
{
ItemDrawInfo draw;
const char *info = clientMenu->GetItemInfo(i, &draw);
AutoMenuData *data = (AutoMenuData *)strtol(info, NULL, 16);
AutoMenuData *data = (AutoMenuData *)strtoul(info, NULL, 16);
if (data->handler->forward != NULL)
{