Skip to content
Snippets Groups Projects
Commit 715e3cfe authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Korrektur Übungsaufgabe 2 vom 19.12.2016

parent f3413d02
Branches 2023ss
No related tags found
No related merge requests found
No preview for this file type
...@@ -94,15 +94,15 @@ ...@@ -94,15 +94,15 @@
compiliert (mit drei Warnungen) und gestartet: compiliert (mit drei Warnungen) und gestartet:
\begin{lstlisting}[style=terminal] \begin{lstlisting}[style=terminal]
$ ¡gcc -Wall -O align.c -o align¿ $ ¡gcc -Wall -O aufgabe-2.c -o aufgabe-2¿
align.c: In function 'main': aufgabe-2.c: In function 'main':
align.c:9:3: warning: format '%x' expects argument of type 'unsigned int', aufgabe-2.c:9:3: warning: format '%x' expects argument of type 'unsigned int',
but argument 2 has type 'uint16_t *' [-Wformat] but argument 2 has type 'int8_t *' [-Wformat]
align.c:10:3: warning: format '%x' expects argument of type 'unsigned int', aufgabe-2.c:10:3: warning: format '%x' expects argument of type 'unsigned int',
but argument 2 has type 'uint32_t *' [-Wformat] but argument 2 has type 'uint32_t *' [-Wformat]
align.c:11:3: warning: format '%x' expects argument of type 'unsigned int', aufgabe-2.c:11:3: warning: format '%x' expects argument of type 'unsigned int',
but argument 2 has type 'int16_t *' [-Wformat] but argument 2 has type 'uint16_t *' [-Wformat]
$ ¡./align¿ $ ¡./aufgabe-2¿
ffd148ef ffd148ef
ffd148e8 ffd148e8
ffd148e6 ffd148e6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment