Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2006-12-06 16:25:11 -0500
committerAndrew Niefer2006-12-06 16:25:11 -0500
commit5e80fa9414346318d52fa1b723a6dfd0833649b1 (patch)
tree0a1963018187cfe0dda07d87f135bcb84e4600a6 /bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
parent6882b54cfda45cd1b550ab8b13ee0506157bf1db (diff)
downloadrt.equinox.framework-5e80fa9414346318d52fa1b723a6dfd0833649b1.tar.gz
rt.equinox.framework-5e80fa9414346318d52fa1b723a6dfd0833649b1.tar.xz
rt.equinox.framework-5e80fa9414346318d52fa1b723a6dfd0833649b1.zip
fix compile warning
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 5dc48abaf..bb8e6e11a 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseCommon.c
@@ -50,7 +50,7 @@ char *toNarrow(_TCHAR* src)
WideCharToMultiByte (CP_UTF8, 0, (wchar_t *)src, -1, dest, byteCount, NULL, NULL);
return dest;
#else
- return _tcsdup(src);
+ return (char*)_tcsdup(src);
#endif
}

Back to the top