Skip to content
Permalink
Browse files

ListingRendererCommon: u64 -> size_t

  • Loading branch information...
Dax89 committed May 14, 2019
1 parent 6f0ff1b commit f653da9e220c3cca402b7f7173b59a09739ed644
Showing with 3 additions and 3 deletions.
  1. +1 −1 renderer/listingrenderercommon.cpp
  2. +2 −2 renderer/listingrenderercommon.h
@@ -81,7 +81,7 @@ REDasm::ListingRenderer::Range ListingRendererCommon::wordHitTest(const QPointF
return wordpos;
}

void ListingRendererCommon::setFirstVisibleLine(u64 line) { m_firstline = line; }
void ListingRendererCommon::setFirstVisibleLine(size_t line) { m_firstline = line; }
const QFontMetricsF ListingRendererCommon::fontMetrics() const { return m_fontmetrics; }
qreal ListingRendererCommon::maxWidth() const { return m_maxwidth; }

@@ -21,7 +21,7 @@ class ListingRendererCommon: public REDasm::ListingRenderer
REDasm::ListingRenderer::Range wordHitTest(const QPointF& pos);
std::string getWordFromPos(const QPointF& pos, Range *wordpos = nullptr);
void selectWordAt(const QPointF &pos);
void setFirstVisibleLine(u64 line);
void setFirstVisibleLine(size_t line);
const QFontMetricsF fontMetrics() const;
qreal maxWidth() const;

@@ -32,7 +32,7 @@ class ListingRendererCommon: public REDasm::ListingRenderer
protected:
QFontMetricsF m_fontmetrics;
qreal m_maxwidth;
u64 m_firstline;
size_t m_firstline;
};

#endif // LISTINGRENDERERCOMMON_H

0 comments on commit f653da9

Please sign in to comment.
You can’t perform that action at this time.