summaryrefslogtreecommitdiffstats
path: root/qt-ui/locationinformation.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 19:24:23 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 19:24:23 -0700
commit5670b5feddb8a5dd7805c41ac1e278815e685602 (patch)
tree1b986f2c122e0ca62e2bf62d6509756963d461d6 /qt-ui/locationinformation.cpp
parent8afd5e8bbc1fc896ff4610ccd61786080ee3df90 (diff)
downloadsubsurface-5670b5feddb8a5dd7805c41ac1e278815e685602.tar.gz
Silly compile fix
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r--qt-ui/locationinformation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp
index 1c650156f..cb45726cb 100644
--- a/qt-ui/locationinformation.cpp
+++ b/qt-ui/locationinformation.cpp
@@ -71,7 +71,7 @@ void LocationInformationWidget::mergeSelectedDiveSites() {
return;
QModelIndexList selection = ui.diveSiteListView->selectionModel()->selectedIndexes();
- uint32_t *selected_dive_sites = (uint32_t*) malloc(sizeof(u_int32_t) * selection.count());
+ uint32_t *selected_dive_sites = (uint32_t*) malloc(sizeof(uint32_t) * selection.count());
int i = 0;
Q_FOREACH(const QModelIndex& idx, selection) {
selected_dive_sites[i] = (uint32_t) idx.data(LocationInformationModel::UUID_ROLE).toInt();