fix build warnings
This commit is contained in:
		
							parent
							
								
									ad8c9bc20c
								
							
						
					
					
						commit
						47ab67a52a
					
				| @ -201,7 +201,7 @@ void Bar::renderTags() | ||||
| 			tag.state & TagState::Active ? colorActive : colorInactive, | ||||
| 			tag.state & TagState::Urgent); | ||||
| 		renderComponent(tag.component); | ||||
| 		auto indicators = std::min(tag.numClients, _bufs->height/2); | ||||
| 		auto indicators = std::min(tag.numClients, static_cast<int>(_bufs->height/2)); | ||||
| 		for (auto ind = 0; ind < indicators; ind++) { | ||||
| 			auto w = ind == tag.focusedClient ? 7 : 1; | ||||
| 			cairo_move_to(_painter, tag.component.x, ind*2+0.5); | ||||
|  | ||||
| @ -36,7 +36,7 @@ class ShmBuffer { | ||||
| 	int _current {0}; | ||||
| 	MemoryMapping _mapping; | ||||
| public: | ||||
| 	int width, height, stride; | ||||
| 	uint32_t width, height, stride; | ||||
| 
 | ||||
| 	explicit ShmBuffer(int width, int height, wl_shm_format format); | ||||
| 	uint8_t* data(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user