[Asterisk-code-review] BuildSystem: Cast any intptr t explicitly to its proposed type. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Sat Mar 3 08:31:08 CST 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8412


Change subject: BuildSystem: Cast any intptr_t explicitly to its proposed type.
......................................................................

BuildSystem: Cast any intptr_t explicitly to its proposed type.

ASTERISK-27713

Change-Id: I90c769e3c7f8c26de8a3af11335862cec15a1b22
---
M main/stdtime/localtime.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/12/8412/1

diff --git a/main/stdtime/localtime.c b/main/stdtime/localtime.c
index 2976e59..ded4421 100644
--- a/main/stdtime/localtime.c
+++ b/main/stdtime/localtime.c
@@ -504,7 +504,7 @@
 			continue;
 		}
 
-		sp = kev.udata;
+		sp = (struct state *) kev.udata;
 
 		AST_LIST_LOCK(&zonelist);
 		/* see comment near psx_sp in add_notify() */

-- 
To view, visit https://gerrit.asterisk.org/8412
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I90c769e3c7f8c26de8a3af11335862cec15a1b22
Gerrit-Change-Number: 8412
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180303/99f1b823/attachment.html>


More information about the asterisk-code-review mailing list