Skip to content

Commit

Permalink
17802 [email protected] Workshop C++ 5.0 needs a cast
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil.arora%sun.com committed Nov 2, 1999
1 parent 20d55df commit fae6e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/oji/src/lcglue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static void PR_CALLBACK detach_JVMContext(void* storage)
JVMContext* GetJVMContext()
{
/* Use NSPR thread private data to manage the per-thread JNIEnv* association. */
static ThreadLocalStorage<JVMContext*> localContext(&detach_JVMContext);
static ThreadLocalStorage<JVMContext*> localContext((PRThreadPrivateDTOR)&detach_JVMContext);
JVMContext* context = localContext.get();
if (context == NULL) {
context = new JVMContext;
Expand Down

0 comments on commit fae6e4d

Please sign in to comment.