Skip to content

Commit

Permalink
[core] Fixed compilation error on some platforms. JB#48413
Browse files Browse the repository at this point in the history
src/nfc_peer_service.c: In function 'nfc_peer_service_connection_dead':
src/nfc_peer_service.c:184:5: error: unknown type name 'uint'
     uint n = 0;
     ^
  • Loading branch information
monich committed Feb 24, 2021
1 parent 6af9504 commit 6205f62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/nfc_peer_service.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2020 Jolla Ltd.
* Copyright (C) 2020 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2020-2021 Jolla Ltd.
* Copyright (C) 2020-2021 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
Expand Down Expand Up @@ -181,7 +181,7 @@ nfc_peer_service_connection_dead(
{
NfcPeerServicePriv* priv = self->priv;
int pos = -1;
uint n = 0;
guint n = 0;

if (priv->conns) {
NfcPeerConnection** ptr = priv->conns;
Expand Down

0 comments on commit 6205f62

Please sign in to comment.