Commit 3aef484e authored by Davis King's avatar Davis King

Changed code so that it compiles in gcc 4.3

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402707
parent a1d0f3e4
......@@ -44,7 +44,7 @@ namespace dlib
std::string get_current_dir (
)
{
char buf[PATH_MAX];
char buf[1024];
if (getcwd(buf,sizeof(buf)) == 0)
{
return std::string();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment