Commit 2033bbc
committed
samples: net sockets coap_upload: Be explicit about offsetting pointer
Let's be explicit about offsetting the pointer into the string,
to avoid a warning by the compiler in code it considers may be
a programming bug:
error: adding 'size_t' (aka 'unsigned int') to a string does not
append to the string
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>1 parent 9885b00 commit 2033bbc
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
0 commit comments