|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-06-24 07:15 UTC] laurinkus at gmail dot com
Description:
------------
%summary%
Reproduce code:
---------------
struct Rateinfo {
time_t ctm;
double open;
double low;
double high;
double close;
int vol;
};
Actual result:
--------------
Crash
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 15:00:01 2025 UTC |
from the MSDN: time_t long integer Represents time values in mktime and time. TIME.H so either redefine your struct struct Rateinfo { int ctm; double open; double low; double high; double close; int vol; }; or alternatively typedef int time_t; - though I have never had any luck getting typedefs to work. wez says he is working on it, maybe he might fix it? Pete.