aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_getsock.3
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-27 15:32:18 +0000
committerYang Tse <yangsita@gmail.com>2006-10-27 15:32:18 +0000
commita93695a70ea273417ad6c52323d7a7d2c47b8a2b (patch)
tree56c79cd1dbf63795de4b5b77ccbe8bef84dfec99 /ares/ares_getsock.3
parentce935a26971ea6d6fd2726c27b5f83353eaf2a7e (diff)
Compiler warning fix.
Assigning the const value zero to a pointer to function results in a null pointer value assignment to the function pointer. Assignment of any nonzero value is what should result in a implementation compiler dependent result. Since what we want to do here is the first case, this should not trigger compiler warnings related with conversions from 'pointer to data' to 'pointer to function'. Our autobuild test suite will judge.
Diffstat (limited to 'ares/ares_getsock.3')
0 files changed, 0 insertions, 0 deletions