[libpri-commits] rmudgett: branch group/issue14292 r674 - /team/group/issue14292/pri.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Wed Jan 21 21:13:07 CST 2009
Author: rmudgett
Date: Wed Jan 21 21:13:07 2009
New Revision: 674
URL: http://svn.digium.com/svn-view/libpri?view=rev&rev=674
Log:
Fix compiler warnings
Modified:
team/group/issue14292/pri.c
Modified: team/group/issue14292/pri.c
URL: http://svn.digium.com/svn-view/libpri/team/group/issue14292/pri.c?view=diff&rev=674&r1=673&r2=674
==============================================================================
--- team/group/issue14292/pri.c (original)
+++ team/group/issue14292/pri.c Wed Jan 21 21:13:07 2009
@@ -1021,11 +1021,11 @@
time_to_go_min = time_ms_to_go/1000/60;
time_to_go_sec = (time_ms_to_go-(time_to_go_min*60*1000))/1000;
- len += sprintf(buf + len, "%d. Active Q.931 Call: %x cr=%d: (%dmin %dsec)\n",
- ++counter, (int)cur, cur->cr,
- time_to_go_min, time_to_go_sec);
+ len += sprintf(buf + len, "%d. Active Q.931 Call: %p cr=%d: (%dmin %dsec)\n",
+ ++counter, cur, cur->cr,
+ time_to_go_min, time_to_go_sec);
} else {
- len += sprintf(buf + len, "%d. Active Q.931 Call: %x cr=%d\n", ++counter, (int)cur, cur->cr);
+ len += sprintf(buf + len, "%d. Active Q.931 Call: %p cr=%d\n", ++counter, cur, cur->cr);
}
cur = cur->next;
}
More information about the libpri-commits
mailing list