1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-16 12:03:03 -05:00
Simon Tatham 31a2017af5 Add missing casts in dupcat().
Ahem. I _spotted_ this in code review, and forgot to make the change
before pushing!

Because it's legitimate for a C implementation to define 'NULL' so
that it expands to just 0, it follows that if you use NULL in a
variadic argument list where the callee will expect to extract a
pointer, you run the risk of putting an int-sized rather than
pointer-sized argument on the list and causing the consumer to get out
of sync. So you have to add an explicit cast.
2018-02-13 19:45:54 +00:00
..
2018-01-30 19:22:45 +00:00
2017-11-26 20:03:12 +00:00
2018-02-13 19:45:54 +00:00
2017-12-18 11:46:48 +00:00
2018-02-07 07:34:53 +00:00
2017-11-26 17:43:02 +00:00
2015-05-15 12:47:44 +01:00