From 8d9edd3b35e3aa9c90f301414c44e6e7afcbb760 Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Fri, 2 Jun 2000 20:15:33 +0000 Subject: [PATCH] # 37239 r = mkaply, a = brendan OS/2 bringup - need a cast for OS/2 - OS/2 only git-svn-id: svn://10.0.0.236/trunk@71382 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLocalFileOS2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsLocalFileOS2.cpp b/mozilla/xpcom/io/nsLocalFileOS2.cpp index 2184db1f649..2257047b08c 100644 --- a/mozilla/xpcom/io/nsLocalFileOS2.cpp +++ b/mozilla/xpcom/io/nsLocalFileOS2.cpp @@ -463,7 +463,7 @@ NS_IMETHODIMP nsLocalFile::GetPath(char **_retval) { NS_ENSURE_ARG_POINTER(_retval); - *_retval = (char*)nsAllocator::Clone(mPath, strlen(mPath) + 1); + *_retval = (char*)nsAllocator::Clone((const char*)mPath, strlen(mPath) + 1); return NS_OK; }