Skip to content

Commit cf68bcd

Browse files
committed
8.0.4
1 parent fee0c51 commit cf68bcd

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

posix-win32/defer/defer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static QState TServer_idle(TServer * const me, QEvt const * const e) {
160160
Q_NEW_REF(me->activeRequest, RequestEvt);
161161

162162
PRINTF_S("Processing request #%d\n",
163-
(int)me->activeRequest->ref_num);
163+
(int)Q_EVT_CAST(RequestEvt)->ref_num);
164164
status_ = Q_TRAN(&TServer_receiving);
165165
break;
166166
}
@@ -186,7 +186,7 @@ static QState TServer_busy(TServer * const me, QEvt const * const e) {
186186
PRINTF_S("busy-EXIT; done processing request #%d\n",
187187
(int)me->activeRequest->ref_num);
188188

189-
// delete the reference to the active request because
189+
// delete the reference to the active request, because
190190
// it is now processed.
191191
Q_DELETE_REF(me->activeRequest);
192192
status_ = Q_HANDLED();

posix-win32/defer/defer.qm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ else {
7676
Q_NEW_REF(me->activeRequest, RequestEvt);
7777

7878
PRINTF_S("Processing request #%d\n",
79-
(int)me-&gt;activeRequest-&gt;ref_num);</action>
79+
(int)Q_EVT_CAST(RequestEvt)-&gt;ref_num);</action>
8080
<tran_glyph conn="2,18,3,1,56,32,-12">
8181
<action box="0,-2,24,2"/>
8282
</tran_glyph>
8383
</tran>
8484
<!--${Components::TServer::SM::idle::TERMINATE}-->
8585
<tran trig="TERMINATE" target="../../3">
86-
<tran_glyph conn="2,22,3,1,62,68,-32">
86+
<tran_glyph conn="2,22,3,1,62,72,-32">
8787
<action box="0,-2,10,2"/>
8888
</tran_glyph>
8989
</tran>
@@ -96,7 +96,7 @@ PRINTF_S(&quot;Processing request #%d\n&quot;,
9696
<exit>PRINTF_S(&quot;busy-EXIT; done processing request #%d\n&quot;,
9797
(int)me-&gt;activeRequest-&gt;ref_num);
9898

99-
// delete the reference to the active request because
99+
// delete the reference to the active request, because
100100
// it is now processed.
101101
Q_DELETE_REF(me-&gt;activeRequest);</exit>
102102
<!--${Components::TServer::SM::busy::NEW_REQUEST}-->
@@ -172,15 +172,15 @@ QTimeEvt_armX(&amp;me-&gt;authorizedEvt, 2U*BSP_TICKS_PER_SEC, 0U);</entry>
172172
<exit box="0,5,6,2"/>
173173
</state_glyph>
174174
</state>
175-
<state_glyph node="2,30,54,54">
175+
<state_glyph color="2" node="2,30,52,54">
176176
<exit box="0,3,29,2"/>
177177
</state_glyph>
178178
</state>
179179
<!--${Components::TServer::SM::final}-->
180180
<state name="final">
181181
<entry brief="stop">PRINTF_S(&quot;%s\n&quot;, &quot;final-ENTRY;&quot;);
182182
QF_stop(); // terminate the application</entry>
183-
<state_glyph node="2,88,30,10">
183+
<state_glyph color="3" node="2,88,30,10">
184184
<entry box="0,3,6,2"/>
185185
</state_glyph>
186186
</state>

posix-win32/dpp/bsp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ void QF_onStartup(void) {
179179
}
180180
//............................................................................
181181
void QF_onCleanup(void) {
182-
PRINTF_S("\nBye! QTable queue-min=%d\n",
183-
QActive_getQueueMin(N_PHILO + 7U));
182+
PRINTF_S("\nBye! QTable queue-min=%u\n",
183+
(unsigned)QActive_getQueueMin(N_PHILO + 7U));
184184
QF_consoleCleanup();
185185
}
186186
//............................................................................

0 commit comments

Comments
 (0)