1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/graphics/inventor/files/patch-SbTime.c++
Maho Nakata 630eb2d3af SGI's Open Inventor (TM)
an object-oriented 3D toolkit offering a comprehensive
solution to interactive graphics programming problems.

PR:		46731
Submitted by:	Christian Gusenbauer <c47g@gmx.at>
2003-08-03 06:56:12 +00:00

20 lines
607 B
C++

*** lib/database/src/sb/SbTime.c++ Sat Dec 14 18:06:53 2002
--- lib/database/src/sb/SbTime.c++.new Sat Dec 14 17:15:06 2002
***************
*** 269,275 ****
seconds = (int) t.tv_sec;
strftime(buf, sizeof(buf), fmt, localtime((const time_t *) &seconds));
#else
! strftime(buf, sizeof(buf), fmt, localtime(&t.tv_sec));
#endif
return buf;
--- 269,275 ----
seconds = (int) t.tv_sec;
strftime(buf, sizeof(buf), fmt, localtime((const time_t *) &seconds));
#else
! strftime(buf, sizeof(buf), fmt, localtime((const time_t *) &t.tv_sec));
#endif
return buf;