Bug 284366 PSM needs to handle Smart Cards seamlessly

fix casting on 64bit platforms
patch by ajschult@verizon.net r=rrelyea sr=jst a=asa
This commit is contained in:
timeless%mozdev.org 2005-06-16 02:00:32 +00:00
Родитель fa7b43f831
Коммит 4f9c680880
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -131,7 +131,7 @@ SmartCardThreadList::Add(SmartCardMonitoringThread *thread)
// We really should have a Unity PL Hash function... // We really should have a Unity PL Hash function...
static PR_CALLBACK PLHashNumber static PR_CALLBACK PLHashNumber
unity(const void *key) { return (PLHashNumber)key; } unity(const void *key) { return PLHashNumber(NS_PTR_TO_INT32(key)); }
SmartCardMonitoringThread::SmartCardMonitoringThread(SECMODModule *module_) SmartCardMonitoringThread::SmartCardMonitoringThread(SECMODModule *module_)
: mThread(nsnull) : mThread(nsnull)