2024-08-30 10:16:14 +01:00
|
|
|
--- a/Multicast.c
|
|
|
|
+++ b/Multicast.c
|
|
|
|
@@ -620,7 +620,7 @@
|
|
|
|
int r;
|
|
|
|
|
|
|
|
UINT rlen;
|
|
|
|
- UINT outlen;
|
2024-08-30 12:21:15 +01:00
|
|
|
+ size_t outlen;
|
2024-08-30 10:16:14 +01:00
|
|
|
|
|
|
|
memcpy(&rlen, &Decoded[5], 4);
|
|
|
|
|
2024-08-30 10:35:36 +01:00
|
|
|
--- a/AGWAPI.c
|
|
|
|
+++ b/AGWAPI.c
|
|
|
|
@@ -128,7 +128,7 @@
|
|
|
|
int AGWGetSessionKey(char * key, struct AGWSocketConnectionInfo * sockptr);
|
|
|
|
int ProcessAGWCommand(struct AGWSocketConnectionInfo * sockptr);
|
|
|
|
int SendDataToAppl(int Stream, byte * Buffer, int Length);
|
|
|
|
-int InternalAGWDecodeFrame(char * msg, char * buffer, int Stamp, int * FrameType, int useLocalTime, int doNodes);
|
|
|
|
+int InternalAGWDecodeFrame(char * msg, char * buffer, time_t Stamp, int * FrameType, int useLocalTime, int doNodes);
|
|
|
|
int AGWDataSocket_Disconnect( struct AGWSocketConnectionInfo * sockptr);
|
|
|
|
int SendRawPacket(struct AGWSocketConnectionInfo * sockptr, char *txmsg, int Length);
|
|
|
|
int ShowApps();
|
2024-11-29 19:56:04 +00:00
|
|
|
--- a/bpqmail.h
|
|
|
|
+++ b/bpqmail.h
|
|
|
|
@@ -502,7 +502,7 @@
|
|
|
|
char CMSPass[16]; // For Secure Signon
|
|
|
|
int WebSeqNo;
|
|
|
|
|
|
|
|
- long long TimeLastConnected; //Last connection date */
|
|
|
|
+ time_t TimeLastConnected; //Last connection date */
|
|
|
|
|
|
|
|
char Filler[44 - 8]; // So we can add a few fields wirhout another resize
|
|
|
|
};
|
|
|
|
@@ -643,9 +643,9 @@
|
|
|
|
// For 64 bit time_t compatibility define as long long
|
|
|
|
// (so struct is same with 32 or 64 bit time_t)
|
|
|
|
|
|
|
|
- long long datereceived;
|
|
|
|
- long long datecreated;
|
|
|
|
- long long datechanged;
|
|
|
|
+ time_t datereceived;
|
|
|
|
+ time_t datecreated;
|
|
|
|
+ time_t datechanged;
|
|
|
|
|
|
|
|
char Spare[61 - 24]; // For future use
|
|
|
|
} ;
|
|
|
|
@@ -695,8 +695,8 @@
|
|
|
|
unsigned char Type;
|
|
|
|
unsigned char changed;
|
|
|
|
unsigned short seen;
|
|
|
|
- long long last_modif;
|
|
|
|
- long long last_seen;
|
|
|
|
+ time_t last_modif;
|
|
|
|
+ time_t last_seen;
|
|
|
|
char first_homebbs[41];
|
|
|
|
char secnd_homebbs[41];
|
|
|
|
char first_zip[9];
|