Jerome Duval
b531a88645
HaikuImage: alphabetically order system apps.
2013-05-13 17:52:49 +02:00
Jérôme Duval
e431f22875
playground: fixes a 64 bit warning.
2013-05-12 18:46:43 +02:00
Jérôme Duval
bb4537c841
JPEGTranslator: fixes a 64 bit warning
2013-05-12 18:45:12 +02:00
Jérôme Duval
c4f684f80f
Style fix as suggested by Axel :)
2013-05-11 22:20:57 +02:00
Jerome Duval
c3e68d8d92
cdda, fat, iso9660: clear tv_nsecs fields in the stat struct
...
* devfs in fact doesn't provide a zeroed buffer.
2013-05-11 14:58:58 +02:00
Jérôme Duval
052e89004c
HaikuImage: simplified a bit by combining two specification lists.
2013-05-10 23:09:46 +02:00
Jérôme Duval
ef0c2a820b
HaikuImage: use the same HaikuImage Jamfile for x86 and x86_64
2013-05-10 22:51:42 +02:00
Jérôme Duval
16a3940cca
HaikuImage: added or removed targets for x86_64
...
* add vesa.accelerant, vesa driver, ps2, isa, bios, generic_x86 for x86_64 too
* only have reiserfs, firewire, agp_gart targets for x86
* reverted hrev43950, liblocale alias shouldn't be needed anymore
2013-05-10 22:42:10 +02:00
Jérôme Duval
215954e3e3
FFilterByBuildFeatures: fixed typo
2013-05-10 22:31:23 +02:00
Jérôme Duval
6922a8fe9b
silicon_image_3112: fixes 64 bit warnings
2013-05-10 21:43:05 +02:00
Jérôme Duval
b2b1ed3e22
canna input method: fixes 64 bit warnings
...
* ugly, this code is not really fixable anyway.
2013-05-10 21:41:14 +02:00
Jérôme Duval
847f1a92bd
spider screen_saver: fixes 64 bit warnings
2013-05-10 21:31:47 +02:00
Jérôme Duval
f39eb5cf94
ipp and lpr print transports: fixes 64 bit warnings
2013-05-10 21:29:34 +02:00
Jérôme Duval
14bf5c3248
preview print driver: fixes 64 bit warnings
2013-05-10 21:24:47 +02:00
Jérôme Duval
e393a1691b
tone_producer_demo: fixes 64 bit warnings
2013-05-10 21:19:58 +02:00
Jérôme Duval
c7000dc3ee
opensound.media_addon: fixes 64 bit warnings
2013-05-10 21:19:06 +02:00
Jérôme Duval
973f12146b
mixer.media_addon: fixes 64 bit warnings
2013-05-10 21:11:34 +02:00
Jérôme Duval
217c8a17a8
multi_audio.media_addon: fixes 64 bit warnings
2013-05-10 21:03:20 +02:00
Jérôme Duval
e1a77daa69
Cortex: fixes 64 bit warnings
2013-05-10 20:59:13 +02:00
Jérôme Duval
5f3e33091c
match_header and spam_filter: fixes 64 bit warnings
2013-05-10 20:55:34 +02:00
Jérôme Duval
a8dca85557
imap: fixes 64 bit warnings
2013-05-10 20:32:29 +02:00
Jérôme Duval
653d5b980c
pop3: fixes 64 bit warnings
2013-05-10 20:28:37 +02:00
Jérôme Duval
07eea198ea
mandelbrot: fixes 64 bit warnings
2013-05-10 20:11:23 +02:00
Jérôme Duval
981062893e
Clock: fixes 64 bit warnings
2013-05-10 20:09:22 +02:00
Jérôme Duval
99f76d5df5
Chart: fixes 64 bit warnings
2013-05-10 20:08:02 +02:00
Jérôme Duval
e971f3b162
shortcut_catcher: fixes 64 bit warnings
2013-05-10 20:04:02 +02:00
Jérôme Duval
0bbc331f6b
ShorcutsPreferences: fixes 64 bit warnings
2013-05-10 19:59:05 +02:00
Jérôme Duval
4c1efaad9c
MailPreferences: fixes 64 bit warnings
2013-05-10 19:56:07 +02:00
Jérôme Duval
006e76a155
MidiPlayer: fixes 64 bit warnings
2013-05-10 19:53:03 +02:00
Jérôme Duval
bc8c7d615d
translate: fixes 64 bit warnings
2013-05-10 19:49:36 +02:00
Jérôme Duval
0059a07ade
roster: fixes 64 bit warnings
2013-05-10 19:46:29 +02:00
Jérôme Duval
7074a7c7ec
reindex: fixes 64 bit warnings
2013-05-10 19:44:51 +02:00
Jérôme Duval
aff59d31a3
hey: fixes 64 bit warnings
2013-05-10 19:42:24 +02:00
Jérôme Duval
2a8d81c291
bfsinfo: fixes 64 bit warnings
2013-05-10 19:31:22 +02:00
Jérôme Duval
fe1f74ab54
media_server: fixes 64 bit warnings
2013-05-10 18:46:04 +02:00
Jérôme Duval
01c5671de8
midi kit, media_addon_server, mail_server: fixes 64 bit warnings
2013-05-09 18:11:19 +02:00
Jérôme Duval
24dba16d04
usb_serial: fixes 64 bit warnings
2013-05-09 17:40:35 +02:00
Jérôme Duval
0e8bd8493a
usb_ecm: fixes 64 bit warnings
2013-05-09 17:38:13 +02:00
Jérôme Duval
19d7d464e5
usb_asix: fixes 64 bit warnings
2013-05-09 17:33:27 +02:00
Jérôme Duval
56dc5af735
usb_davicom: fixes 64 bit warnings
2013-05-09 17:30:06 +02:00
Jérôme Duval
6849e7cc15
cx23882: fixes 64 bit warnings
2013-05-09 17:24:09 +02:00
Jérôme Duval
4e159473a9
nbd: fixes 64 bit warnings
2013-05-09 17:05:06 +02:00
Jérôme Duval
d47767ba38
usb_printer: fixes 64 bit warnings
2013-05-09 16:46:02 +02:00
Jérôme Duval
69a33f8c3c
usb_floppy: fixes 64 bit warnings
2013-05-09 16:40:49 +02:00
Jérôme Duval
f0704f6ba4
usb_raw: fixes 64 bit warnings
2013-05-09 16:22:15 +02:00
Jérôme Duval
2f66d0df8e
usb_midi: fixes 64 bit warnings
2013-05-09 16:16:43 +02:00
Jérôme Duval
1f6d4bcfd3
echo: fixes 64 bit warnings
2013-05-09 16:03:38 +02:00
Jérôme Duval
e825d892e1
efi_gpt: fixes 64 bit warnings
2013-05-09 15:53:50 +02:00
Jérôme Duval
9bc120ace1
mpu401: fixes 64 bit warnings
2013-05-09 15:45:30 +02:00
Jérôme Duval
7e5b0f9649
udf: fixes 64 bit warnings
2013-05-09 15:44:10 +02:00
Jérôme Duval
5a58ea80cf
nfs: fixes 64 bit warnings
2013-05-09 15:08:11 +02:00
Jérôme Duval
a130bab351
ext2: fixes 64 bit warnings
2013-05-08 20:10:33 +02:00
Jérôme Duval
3f5d1e7825
exfat: fixes 64 bit warnings
2013-05-06 22:41:07 +02:00
Jérôme Duval
575eeda9a5
cdda: fixes 64 bit warnings
2013-05-06 22:41:06 +02:00
Jérôme Duval
267a780ab5
btrfs: fixes 64 bit warnings
2013-05-06 22:41:05 +02:00
Jérôme Duval
c162f52eaa
intel_extreme and radeon_hd: some 64 bit fixes
2013-05-04 20:20:33 +02:00
Jérôme Duval
82c2deb5b7
agp_gart: some 64 bit fixes
2013-05-04 19:50:17 +02:00
Jerome Duval
f756b25e8a
DiskProbe: remove superfluous parentheses introduced in a31ac99
2013-05-04 18:20:38 +02:00
Jerome Duval
ee668d24e3
exfat: Return more than a single dirent at a time in exfat_read_dir().
...
* similar to what mmlr did in hrev45575 for bfs.
* DirectoryIterator could try to read past the end of the directory.
* replaced a dprintf with a TRACE() statement.
2013-05-04 18:12:51 +02:00
Jerome Duval
9f0006623c
MediaPlayer: addr_t instead of long, as suggested by Ingo.
2013-05-04 16:16:30 +02:00
Jérôme Duval
62e60219cc
ShowImage: initialize rgb_color.alpha field.
2013-05-04 15:31:15 +02:00
Jérôme Duval
a31ac990cc
Diskprobe: some 64 bit fixes
...
* also warnings about comparisons between signed and non signed.
2013-05-04 15:31:14 +02:00
Jérôme Duval
2443899f1b
WebWatch: some 64 bit fixes
2013-05-04 15:31:13 +02:00
Jérôme Duval
c0722add75
TextSearch: some 64 bit fixes
2013-05-04 15:31:13 +02:00
Jérôme Duval
3e4cf3a1b8
PowerStatus: some 64 bit fixes
2013-05-04 15:31:11 +02:00
Jérôme Duval
14b32de1d5
People: some 64 bit fixes
2013-05-04 15:31:10 +02:00
Jérôme Duval
bd380b558a
PackageInstaller: some 64 bit fixes
2013-05-04 15:31:10 +02:00
Jérôme Duval
113817f035
MediaPlayer: 64 bit build fixes for an ugly use of BList.
2013-05-04 15:31:07 +02:00
Jérôme Duval
cf91714bf2
Magnify: some 64 bit fixes
2013-05-04 15:31:06 +02:00
Jérôme Duval
55a4a88045
Mail: some 64 bit fixes
2013-05-04 15:31:06 +02:00
Jérôme Duval
60128b54b4
Icon-o-matic: some 64 bit fixes
2013-05-04 15:31:04 +02:00
Jérôme Duval
48350f1a72
bluetooth_server: some 64 bit fixes
2013-05-04 15:31:04 +02:00
Jérôme Duval
dc4e3ce337
added B_PRIxOFF
2013-05-04 15:31:04 +02:00
Jérôme Duval
afcbccb9b5
Codycam: some 64 bit fixes
2013-05-04 15:31:03 +02:00
Jérôme Duval
843a122fd9
MediaPlayer: some 64 bit fixes
2013-05-04 11:15:41 +02:00
Jérôme Duval
e5d65858f2
Fix more GCC4 narrowing conversion warnings.
...
* Code style would be to fix.
2013-05-03 19:42:04 +02:00
Jerome Duval
c33b645d33
ext2: Return more than a single dirent at a time in ext2_read_dir().
...
* similar to what mmlr did in hrev45575 for bfs.
2013-05-02 23:44:03 +02:00
Jerome Duval
795f13d6f2
btrfs: Return more than a single dirent at a time in btrfs_read_dir().
...
* similar to what mmlr did in hrev45575 for bfs.
2013-05-02 23:44:02 +02:00
Jérôme Duval
2e00579938
bsnow: use uchar instead of char to avoid narrowing conversion warnings.
2013-04-29 21:44:01 +02:00
Jérôme Duval
cd749a7652
Terminal: use unsigned short instead of int to avoid a narrowing conversion warning.
...
* unsigned short is the type used in the struct winsize.
2013-04-29 21:40:34 +02:00
Jérôme Duval
e367c05620
SoundRecorder: fixed two warnings.
...
* warnings about comparison between signed and unsigned integer expressions.
* also use std::min() instead of min_c()
2013-04-29 21:35:40 +02:00
Jérôme Duval
a83d8d14b5
Installer: fixed two warnings.
...
* warnings about comparison between signed and unsigned integer expressions.
* also use std::min() instead of min_c()
2013-04-29 21:31:20 +02:00
Jérôme Duval
88499de190
attribute_overlay: fixed a warning.
...
* warning about comparison between signed and unsigned integer expressions.
2013-04-29 21:25:20 +02:00
Jérôme Duval
3756e0ac38
kernel: use uint64 instead of int64 to avoid narrowing conversion warnings.
...
* gdb_register is used only in arch_debug.cpp
2013-04-29 21:20:35 +02:00
Jérôme Duval
295cdbee6b
keymap: use uchar instead of char to avoid narrowing conversion warnings.
2013-04-29 21:09:59 +02:00
Jérôme Duval
311e148798
vfs: fixed two warnings.
...
* warnings about comparison between signed and unsigned integer expressions.
2013-04-29 20:57:34 +02:00
Jérôme Duval
56efe80f85
nfs4: fixed two warnings.
...
* warnings about comparison between signed and unsigned integer expressions.
* the use of max_c() was superflous anyway as the result is only used for a comparison
with the left value.
2013-04-29 20:29:10 +02:00
Jérôme Duval
778d2528d6
write_overlay: fixed three warnings, I hope correctly.
...
* warnings about comparison between signed and unsigned integer expressions.
2013-04-29 20:22:13 +02:00
Jérôme Duval
d592954e3c
app_server: avoids referencing a temporary IntRect instance.
...
* GCC lets us use a const reference to a temporary, but using it after it disappeared
is incorrect.
* reverts hrev45576 as this patch seems more correct.
2013-04-29 20:17:14 +02:00
Jérôme Duval
849683f4c8
app_server: workaround for GCC 4.7 misbehavior in IntRect.
...
* moved the inlined BRect constructor of IntRect to the cpp file. GCC will inline the method
anyway.
* impacted methods were both AGGTextRenderer::RenderString() in
src/servers/app/drawing/Painter/AGGTextRenderer.cpp, calling the StringRenderer constructor
with a BRect reference.
* unless someone comes up with an explanation, I'll try to come with a smaller testcase to
submit this problem upstream.
2013-04-28 16:39:14 +02:00
Jérôme Duval
7db03c63a0
FontManager: fixed trace mode
2013-04-28 16:39:13 +02:00
Jérôme Duval
32d7bcb470
VMAnonymousCache.cpp: use off_t instead of page_num_t
...
* use off_t instead of page_num_t to fit in swap_hash_key struct.
* this fixes narrowing conversion and signedness warnings on GCC 4.7.
2013-04-27 14:43:20 +02:00
Jerome Duval
dc0e22d800
Revert "VMAnonymousCache.cpp: changed page_index type to page_num_t"
...
This reverts commit f7176b0ee5 . Citing Ingo:
"off_t is the correct type to use for addressing pages in a cache/file,
which page_num_t should only be used for physical pages." I'll see how to
fix the GCC 4.7 warnings differently :)
2013-04-27 13:36:49 +02:00
Jérôme Duval
f7176b0ee5
VMAnonymousCache.cpp: changed page_index type to page_num_t
...
* consistently use page_num_t for page numbers and off_t for offsets and sizes.
2013-04-26 21:17:39 +02:00
Jérôme Duval
cc3fb1f518
icon-o-matic: converts the result of round() to uint8 to fit in struct rgb_color.
...
* GCC 4.7 warning: narrowing conversion of '(int)(((ColorPickerView*)this)->ColorPickerView::r * 2.55e+2f)'
from 'int' to 'uint8 {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
2013-04-26 21:17:38 +02:00
Jérôme Duval
5f08555a59
GCC 4.7.x doesn't allow writes in a referenced packed struct.
...
* error: cannot bind packed field 'image->preloaded_elf64_image::elf_header'
to 'ELFLoader<ELF64Class>::EhdrType& {aka Elf64_Ehdr&}'
2013-04-26 21:17:36 +02:00
Jérôme Duval
44d2f5f53e
scsi bus manager: casts path_id to uint8.
...
* added a TODO about create_id() generating int32 ids when we need uint8.
* GCC 4.7 warning fixed: narrowing conversion.
2013-04-26 21:17:36 +02:00
Jérôme Duval
848acd672c
devfs: casts as size_t before comparing.
...
* error: comparison between signed and unsigned integer expressions.
2013-04-26 21:17:34 +02:00
Jérôme Duval
8b9c0710cd
PCI bus manager: changed the type of domain from int to uint8.
...
* fixed narrowing conversion problem found by GCC 4.7.
2013-04-26 21:17:33 +02:00
Jérôme Duval
f92b1f2eaf
GCC 4.7.x finds that 1 << 31 is a signed integer, use the unsigned notation
...
* error: narrowing conversion of '-2147483618' from 'int' to 'uint32 {aka long unsigned int}'
inside { } is ill-formed in C++11
2013-04-26 21:17:33 +02:00