diff options
| -rw-r--r-- | src/Image.cc | 2 | ||||
| -rw-r--r-- | src/Image.hh | 2 | ||||
| -rw-r--r-- | src/Window.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Image.cc b/src/Image.cc index 674fdeac..d8f725a2 100644 --- a/src/Image.cc +++ b/src/Image.cc @@ -41,7 +41,7 @@ using std::min; #include "Texture.hh" -BImage::BImage(BImageControl *c, unsigned int w, unsigned int h) { +BImage::BImage(BImageControl *c, int w, int h) { control = c; width = (w > 0) ? w : 1; diff --git a/src/Image.hh b/src/Image.hh index 0e82456c..33d2e5b8 100644 --- a/src/Image.hh +++ b/src/Image.hh @@ -77,7 +77,7 @@ private: public: - BImage(BImageControl *c, unsigned int w, unsigned int h); + BImage(BImageControl *c, int w, int h); ~BImage(void); Pixmap render(const BTexture &texture); diff --git a/src/Window.cc b/src/Window.cc index 27c6f945..110ebc71 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -1426,7 +1426,7 @@ void BlackboxWindow::getTransientInfo(void) { } // we have no transient_for until we find a new one - client.transient_for = 0; + client.transient_for = (BlackboxWindow *) 0; Window trans_for; if (! XGetTransientForHint(blackbox->getXDisplay(), client.window, |
