| Name |
Last commit
|
Last update |
|---|---|---|
| src | ||
| tests | ||
| .HEADER | ||
| .gitignore | ||
| CONVENTIONS | ||
| COPYING | ||
| Makefile | ||
| api.doxygen | ||
| git.git-authors | ||
| libgit2.pc.in |
In particular, msvc complains thus:
t0603-sort.c(23) : warning C4244: 'function' : conversion from \
'time_t' to 'unsigned int', possible loss of data
Note that msvc, by default, defines time_t as a 64-bit type, whereas
srand() is expecting an (32-bit) unsigned int. In order to suppress
the warning, we simply cast the return value of the time() function
call to 'unsigned int'.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
| Name |
Last commit
|
Last update |
|---|---|---|
| src | Loading commit data... | |
| tests | Loading commit data... | |
| .HEADER | Loading commit data... | |
| .gitignore | Loading commit data... | |
| CONVENTIONS | Loading commit data... | |
| COPYING | Loading commit data... | |
| Makefile | Loading commit data... | |
| api.doxygen | Loading commit data... | |
| git.git-authors | Loading commit data... | |
| libgit2.pc.in | Loading commit data... |