Change in osmo-ccid-firmware[master]: minor: change variable type to remove compiler warning

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Kévin Redon gerrit-no-reply at lists.osmocom.org
Tue Apr 16 23:29:23 UTC 2019


Kévin Redon has uploaded this change for review. ( https://gerrit.osmocom.org/13684


Change subject: minor: change variable type to remove compiler warning
......................................................................

minor: change variable type to remove compiler warning

Change-Id: I8f537d6cbec820ad0406ec2ff0c9735759169fc0
---
M sysmoOCTSIM/command.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/84/13684/1

diff --git a/sysmoOCTSIM/command.c b/sysmoOCTSIM/command.c
index 327a1a0..8fbaec4 100644
--- a/sysmoOCTSIM/command.c
+++ b/sysmoOCTSIM/command.c
@@ -78,7 +78,7 @@
 	/* yield CPU after maximum of 10 received characters */
 	while (usart_async_rings_is_rx_not_empty(&UART_debug) && (i < 10)) {
 		gpio_toggle_pin_level(USER_LED); // toggle LED to show we received something
-		int c = getchar();
+		char c = getchar();
 		if (c < 0)
 			return;
 		putchar(c);

-- 
To view, visit https://gerrit.osmocom.org/13684
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f537d6cbec820ad0406ec2ff0c9735759169fc0
Gerrit-Change-Number: 13684
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190416/4fde44dc/attachment.htm>


More information about the gerrit-log mailing list