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

Jenkins2 asteriskteam at digium.com
Tue Mar 6 13:20:05 CST 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/8414 )

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(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit



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/8414
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I90c769e3c7f8c26de8a3af11335862cec15a1b22
Gerrit-Change-Number: 8414
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180306/96cf396a/attachment.html>


More information about the asterisk-code-review mailing list