Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2008-02-01 18:29:35 +0000
committerAndrew Niefer2008-02-01 18:29:35 +0000
commite1d17b1b2da8dbab395559f5487cc713acfa3d0b (patch)
tree99930cd9cdb316357b3644751843afa53eb753e8 /bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
parent010b1d81da50c41fb0446846ca09dcc95f43ff9b (diff)
downloadrt.equinox.framework-e1d17b1b2da8dbab395559f5487cc713acfa3d0b.tar.gz
rt.equinox.framework-e1d17b1b2da8dbab395559f5487cc713acfa3d0b.tar.xz
rt.equinox.framework-e1d17b1b2da8dbab395559f5487cc713acfa3d0b.zip
bug 204044 - read main class from manifest
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseCommon.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseCommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c b/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
index 28e10c318..701547085 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
@@ -122,7 +122,7 @@ static int compareVersions(const _TCHAR* str1, const _TCHAR* str2) {
* Convert a wide string to a narrow one
* Caller must free the null terminated string returned.
*/
-char *toNarrow(_TCHAR* src)
+char *toNarrow(const _TCHAR* src)
{
#ifdef UNICODE
int byteCount = WideCharToMultiByte (CP_ACP, 0, (wchar_t *)src, -1, NULL, 0, NULL, NULL);

Back to the top