ObjFW  Check-in [9383a4cf4a]

Overview
Comment:macros.h: Fix a typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9383a4cf4af90ac5cc41b130b37c19c48ea4576f04ff446d6598c15591b131f8
User & Date: js on 2018-07-29 16:16:57
Other Links: manifest | tags
Context
2018-07-29
18:38
OFDNSResolver: Add support for parsing CNAMEs check-in: 3826822733 user: js tags: trunk
16:16
macros.h: Fix a typo check-in: 9383a4cf4a user: js tags: trunk
14:48
configure: Make newer devkitPro versions happy check-in: 4228b805ad user: js tags: trunk
Changes

Modified src/macros.h from [cec5f5d20d] to [422632f048].

862
863
864
865
866
867
868
869
870
871
872
	gettimeofday(&tv, NULL);
	srandom((unsigned)(tv.tv_sec ^ tv.tv_usec));
	return (((uint32_t)(random()) << 16) | ((uint32_t)(random()) & 0xFFFF));
#else
	struct timeval tv;

	gettimeofday(&tv, NULL);
	srand((unsigned)(t.tv_sec ^ t.tv_usec));
	return (((uint32_t)(rand()) << 16) | ((uint32_t)(rand()) & 0xFFFF));
#endif
}







|



862
863
864
865
866
867
868
869
870
871
872
	gettimeofday(&tv, NULL);
	srandom((unsigned)(tv.tv_sec ^ tv.tv_usec));
	return (((uint32_t)(random()) << 16) | ((uint32_t)(random()) & 0xFFFF));
#else
	struct timeval tv;

	gettimeofday(&tv, NULL);
	srand((unsigned)(tv.tv_sec ^ tv.tv_usec));
	return (((uint32_t)(rand()) << 16) | ((uint32_t)(rand()) & 0xFFFF));
#endif
}